Set_Time_Slice_Granularity

include vmm.inc

mov     eax, Time
VMMCall Set_Time_Slice_Granularity
 

Sets the minimum time-slice granularity, the minimum number of milliseconds a virtual machine can run before being rescheduled. Uses Flags.

Time
Minimum time-slice granularity, in milliseconds.

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.

The limit for the maximum time-slice granularity is 250 milliseconds.

See Also

Get_Time_Slice_Granularity