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 can run before being rescheduled.
Time
Specifies the minimum time-slice granularity in milliseconds.
This service has no return value.
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.
Flags