cpu usage of a thread

丶灬走出姿态 提交于 2019-12-08 02:11:45

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!