FreeBSD/sys/kern/sched_ule.c
/*
 * This is only somewhat accurate since given many processes of the same
 * priority they will switch when their slices run out, which will be
 * at most sched_slice stathz ticks.
 */
This is only somewhat accurate since given many processes of the same
priority they will switch when their slices run out, which will be
at most sched_slice stathz ticks.
This is only somewhat accurate since given many processes of the same priority they will switch when their slices run out which will be at most sched_slice stathz ticks .
int
sched_rr_interval(void)
{
	return (imax(1, (sched_slice * hz + realstathz / 2) / realstathz));
}
int sched_rr_interval ( void ) { return ( imax ( 1 , ( sched_slice * hz + realstathz / 2 ) / realstathz ) ) ; }
This is only somewhat accurate since given many processes of the same
 priority they will switch when their slices run out, which will be
 at most sched_slice stathz ticks.
This is only somewhat accurate since given many processes of the same priority they will switch when their slices run out which will be at most sched_slice stathz ticks .
/* Convert sched_slice from stathz to hz. */