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.
Set_Time_Slice_Granularity
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     eax, Time               ; minimum time-slice in milliseconds
VMMcall Set_Time_Slice_Granularity
 
The Set_Time_Slice_Granularity service sets the minimum time-slice
granularity. This value specifies the minimum number of milliseconds a
virtual machine runs before being rescheduled.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
Time       Specifies the minimum time-slice granularity in milliseconds.
 
Return Value
 
This service has no return value.
 
Comments
 
Small time-slice granularity values make multitasking appear smoother, but
require high numbers of task switches and increase execution overhead. Large
values allow more time for the virtual machines to execute but may make
execution look intermittent to the user.
 
Uses
 
Flags
 
See Also
 
Get_Time_Slice_Granularity, Set_Time_Slice_Priority