Click here to Skip to main content
15,896,111 members
Home / Discussions / C#
   

C#

 
AnswerRe: Receiving WM_DEVICECHANGE message from a console app Pin
djlove24-Nov-06 7:41
djlove24-Nov-06 7:41 
QuestionCode Analysis, Thread optimization Pin
Jon Hulatt24-Nov-06 4:41
Jon Hulatt24-Nov-06 4:41 
AnswerRe: Code Analysis, Thread optimization Pin
Amar Chaudhary24-Nov-06 4:47
Amar Chaudhary24-Nov-06 4:47 
GeneralRe: Code Analysis, Thread optimization Pin
Nadia Monalisa24-Nov-06 9:53
Nadia Monalisa24-Nov-06 9:53 
QuestionWhy? Pin
CPallini24-Nov-06 9:58
mveCPallini24-Nov-06 9:58 
GeneralRe: Code Analysis, Thread optimization Pin
Amar Chaudhary24-Nov-06 10:15
Amar Chaudhary24-Nov-06 10:15 
AnswerRe: Code Analysis, Thread optimization Pin
Amar Chaudhary24-Nov-06 6:05
Amar Chaudhary24-Nov-06 6:05 
AnswerRe: Code Analysis, Thread optimization Pin
S. Senthil Kumar24-Nov-06 8:10
S. Senthil Kumar24-Nov-06 8:10 
For figuring out the CPU time used by each thread, I'd suggest using Process Explorer[^]. It allows you to drill down into threads and watch CPU time.

To find the contention rate among threads, you can use Perfmon (type perfmon.msc at the command prompt). The ".NET CLR LocksAndThreads" Performance Object has "Total # of contentions" and "Contention Rate/sec" counters, you need to just add them, making sure you select your process from the processes list on the right.

Hope this helps.

Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

AnswerRe: Code Analysis, Thread optimization Pin
ejuanpp24-Nov-06 12:55
ejuanpp24-Nov-06 12:55 
QuestionError Code 0Xc0000135 error code Pin
sanki77924-Nov-06 3:17
sanki77924-Nov-06 3:17 
AnswerRe: Error Code 0Xc0000135 error code Pin
Colin Angus Mackay24-Nov-06 3:31
Colin Angus Mackay24-Nov-06 3:31 
GeneralRe: Error Code 0Xc0000135 error code Pin
sanki77924-Nov-06 3:34
sanki77924-Nov-06 3:34 
GeneralRe: Error Code 0Xc0000135 error code Pin
Colin Angus Mackay24-Nov-06 3:35
Colin Angus Mackay24-Nov-06 3:35 
GeneralRe: Error Code 0Xc0000135 error code Pin
Michael P Butler24-Nov-06 4:27
Michael P Butler24-Nov-06 4:27 
GeneralRe: Error Code 0Xc0000135 error code Pin
Amar Chaudhary24-Nov-06 4:49
Amar Chaudhary24-Nov-06 4:49 
GeneralRe: Error Code 0Xc0000135 error code Pin
Pete O'Hanlon24-Nov-06 5:04
mvePete O'Hanlon24-Nov-06 5:04 
QuestionInvoking and killing internet explorer from C# Pin
Dewald24-Nov-06 2:46
Dewald24-Nov-06 2:46 
AnswerRe: Invoking and killing internet explorer from C# Pin
Eduard Keilholz24-Nov-06 2:58
Eduard Keilholz24-Nov-06 2:58 
GeneralRe: Invoking and killing internet explorer from C# Pin
Dewald24-Nov-06 3:07
Dewald24-Nov-06 3:07 
AnswerRe: Invoking and killing internet explorer from C# Pin
Eduard Keilholz24-Nov-06 5:07
Eduard Keilholz24-Nov-06 5:07 
QuestionHow to know the logged in user to a machine on the network Pin
Lebanese24-Nov-06 1:45
Lebanese24-Nov-06 1:45 
AnswerRe: How to know the logged in user to a machine on the network Pin
quiteSmart24-Nov-06 2:06
quiteSmart24-Nov-06 2:06 
AnswerRe: How to know the logged in user to a machine on the network Pin
S. Senthil Kumar24-Nov-06 8:13
S. Senthil Kumar24-Nov-06 8:13 
Questionconnecting to the acitve directory Pin
quiteSmart24-Nov-06 1:16
quiteSmart24-Nov-06 1:16 
AnswerRe: connecting to the acitve directory Pin
Not Active24-Nov-06 5:35
mentorNot Active24-Nov-06 5:35 

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.