_GetThreadExecTime


include vmm.inc

VMMcall _GetThreadExecTime, <hThread>
mov     [ExecTime], eax

Retrieves the amount of time that a particular thread has executed. The value returned indicates the amount of time the specified task has been the currently running thread. Uses EAX, Flags.

hThread

Handle of the thread to get the execution time for.

This service can be called at interrupt time.

See Timing Query Services for a definition of thread execution time, a discussion of timer rollover, and a comparison of _GetThreadExecTime with _GetLastUpdatedThreadExecTime.