问题
how to get the cpu usage of a thread in .net in c#
回答1:
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.
来源:https://stackoverflow.com/questions/3958571/cpu-usage-of-a-thread