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.
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.