Measuring of time consumed by thread

  • Thread starter Thread starter WinstonSmith
  • Start date Start date
W

WinstonSmith

Hello everyone,

I need to know how much time (cpu time like in Task Manager) is consumed by
a thread. I tried to use Process.GetCurrentProcess.Threads and choose the
current thread by AppDomain.GetCurrentThreadID. But results were wrong. Has
anyone an idea to solve thsi matter?

Thanks in advance

Matthias
 
Back
Top