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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top