How to measure thread sleep time / thread utilisation at runtime?

So you can run a tool like dot trace and find out how much time the thread has available, but I want to use it as a performance metric at runtime.

How would you go about doing this in C#?

by synthematics via /r/csharp

Leave a Reply