Getting thread timing
-
Does anyone know ofa mechansim to get thread timing information. I am trying to get a better understanding of the percentage of CPU utilization in a multi-threaded app, but on a per-thread basis as opposed to a per function basis. The system APIs provide this info for processes, but I have been unable to get equivalent info for threads. If someone can elighten me, or suggest a technique, I would appreciate it.
-
Does anyone know ofa mechansim to get thread timing information. I am trying to get a better understanding of the percentage of CPU utilization in a multi-threaded app, but on a per-thread basis as opposed to a per function basis. The system APIs provide this info for processes, but I have been unable to get equivalent info for threads. If someone can elighten me, or suggest a technique, I would appreciate it.
GetThreadTimes Don't try it, just do it! ;-)