Joseph
Joseph

Reputation: 125

cpu usage of a thread

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

Upvotes: 3

Views: 10728

Answers (1)

Nick Martyshchenko
Nick Martyshchenko

Reputation: 4249

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.

Upvotes: 3

Related Questions