Get_VM_Exec_Time


include vmm.inc

mov  ebx, [VMHandle]
VMMcall Get_VM_Exec_Time

mov     [ExecTime], eax     ; time in milliseconds that VM has run

Returns the amount of time that the specified virtual machine has run. This service is accurate to 1 millisecond. This is an asynchronous service. Uses EAX, Flags.

VMHandle

Handle of the virtual machine to obtain the execution time information for.

See Timing Query Services for a definition of virtual machine execution time, a discussion of timer rollover, and a comparison of Get_VM_Exec_Time with Get_Last_Updated_VM_Exec_Time.

See also Get_Last_Updated_VM_Exec_Time