include vmm.inc VMMcall Get_Last_Updated_VM_Exec_Time mov [ExecTime], eax ; time in milliseconds that VM has run |
The Get_Last_Updated_VM_Exec_Time service returns the amount of time that the current virtual machine has run. This service is accurate to approximately 50 milliseconds.
This is an asynchronous service.
This service has no parameters.
The EAX register contains the execution time for the current virtual machine.
When the system creates a virtual machine, it sets the execution time for the virtual machine to zero. The system increases the execution time only when the virtual machine actually runs. Therefore the execution does not reflect the length of time the virtual machine has existed, but indicates the amount of time the current virtual machine has run.
EAX, Flags