Click here to Skip to main content
15,909,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalplotting cpu and mem consumption Pin
vvim16-Jun-04 14:32
vvim16-Jun-04 14:32 
GeneralRe: plotting cpu and mem consumption Pin
Antony M Kancidrowski17-Jun-04 1:50
Antony M Kancidrowski17-Jun-04 1:50 
GeneralRe: plotting cpu and mem consumption Pin
vvim18-Jun-04 2:25
vvim18-Jun-04 2:25 
GeneralMenubar problem Pin
group716-Jun-04 13:04
group716-Jun-04 13:04 
GeneralRe: Menubar problem Pin
Anthony_Yio16-Jun-04 20:51
Anthony_Yio16-Jun-04 20:51 
GeneralRe: Menubar problem Pin
group716-Jun-04 22:43
group716-Jun-04 22:43 
GeneralRe: Menubar problem Pin
Anthony_Yio16-Jun-04 23:08
Anthony_Yio16-Jun-04 23:08 
Questioninstance name from thread id? Pin
ben216-Jun-04 12:04
ben216-Jun-04 12:04 
Instance name from Thread Id?
Hi,

I'm using pdh to generate Performace data for a thread in my multithreaded program.
The counter should be like
"\\Thread(App/3)\\% Processor Time"
here App/3 is the name of the instance for the thread.

My question is:
I know the thread Id for my thread, how do I find the instance name of the thread from my program?

Please help


AnswerRe: instance name from thread id? Pin
Blake Miller16-Jun-04 13:21
Blake Miller16-Jun-04 13:21 
GeneralRe: instance name from thread id? Pin
ben216-Jun-04 15:02
ben216-Jun-04 15:02 
GeneralRe: instance name from thread id? Pin
ben216-Jun-04 15:12
ben216-Jun-04 15:12 
GeneralRe: instance name from thread id? Pin
ben216-Jun-04 15:17
ben216-Jun-04 15:17 
GeneralRe: instance name from thread id? Pin
Blake Miller16-Jun-04 15:50
Blake Miller16-Jun-04 15:50 
GeneralC++ Arrow Keys Pin
c. s.16-Jun-04 11:55
c. s.16-Jun-04 11:55 
GeneralRe: C++ Arrow Keys Pin
palbano16-Jun-04 12:02
palbano16-Jun-04 12:02 
GeneralRe: C++ Arrow Keys Pin
c. s.16-Jun-04 22:00
c. s.16-Jun-04 22:00 
GeneralRe: C++ Arrow Keys Pin
Roger Allen16-Jun-04 22:24
Roger Allen16-Jun-04 22:24 
QuestionTB_ADDSTRING example? Pin
LukeV16-Jun-04 10:48
LukeV16-Jun-04 10:48 
AnswerRe: TB_ADDSTRING example? Pin
palbano16-Jun-04 11:12
palbano16-Jun-04 11:12 
GeneralRe: TB_ADDSTRING example? Pin
LukeV16-Jun-04 13:01
LukeV16-Jun-04 13:01 
AnswerRe: TB_ADDSTRING example? Pin
Michael Dunn16-Jun-04 20:07
sitebuilderMichael Dunn16-Jun-04 20:07 
GeneralVSS Alternative Pin
Swinefeaster16-Jun-04 10:30
Swinefeaster16-Jun-04 10:30 
GeneralRe: VSS Alternative Pin
Ravi Bhavnani16-Jun-04 10:34
professionalRavi Bhavnani16-Jun-04 10:34 
GeneralRe: VSS Alternative Pin
Swinefeaster16-Jun-04 10:43
Swinefeaster16-Jun-04 10:43 
GeneralRe: VSS Alternative Pin
Tim Smith16-Jun-04 16:38
Tim Smith16-Jun-04 16:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.