Get_Time_Slice_Info

include vmm.inc

VMMcall Get_Time_Slice_Info

mov [Scheduled], eax ; number of virtual machines scheduled

mov [Current], ebx ; handle of currently scheduled virtual machine

mov [Idle], ecx ; number of idle virtual machines


The Get_Time_Slice_Info service returns information about the number of virtual machines currently scheduled by the time-slicer, and the number of virtual machines that are idle.

This is an asynchronous service.

Parameters

This service has no parameters.

Return Value

The EAX, EBX and ECX registers contain the following information:

Register Description

EAX Contains the number of virtual machines scheduled.
EBX Contains the handle of the currently scheduled virtual machine.
ECX Contains the number of scheduled virtual machines that are currently idle.

Uses

EAX, EBX, ECX, Flags

See Also

Get_Time_Slice_Granularity, Get_Time_Slice_Priority