Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Get_Time_Slice_Info
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
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.
 
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