Is there a method with a better resolution than 100us that can get me the total time a thread was working (without the time it was sleeping or waiting).
thanks :)
You could use QueryThreadCycleTime(), it counts cpu cycles. You can't do better than that. Available in Vista and up. It doesn't count sleep nor wait time, I verified on Win7.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With