views:

43

answers:

1

how to get the cpu usage of a thread in .net in c#

+1  A: 

Check How to get the cpu usage per thread on windows (win32) and GetThreadTimes you can use PInvoke for that. Another similar post on SO: How can I get CPU usage and/or RAM usage of a THREAD in C# (managed code)? So this is duplicate.

Nick Martyshchenko