include vmm.inc
VMMCall _GetLastUpdatedThreadExecTime, <ThreadHandle>
mov [ThreadExecTime], eax;
Retrieves the amount of time in milliseconds that the specified thread has run. This service is accurate to approximately 50 milliseconds. This is an asynchronous service. This service uses the C calling convention. Uses EAX, ECX, EDX, and Flags.
See Timing Query Services for a definition of thread execution time, a discussion of timer rollover, and a comparison of _GetThreadExecTime with _GetLastUpdatedThreadExecTime.