Set_Time_Slice_Granularity

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.

Parameters

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