FreeBSD/sys/kern/sched_4bsd.c
/*
 * This routine determines time constants after stathz and hz are setup.
 */
This routine determines time constants after stathz and hz are setup.
This routine determines time constants after stathz and hz are setup .
static void
sched_initticks(void *dummy)
{
	realstathz = stathz ? stathz : hz;
	sched_slice = realstathz / 10;	
	hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) /
	    realstathz);
}
static void sched_initticks ( void * dummy ) { realstathz = stathz ? stathz : hz ; sched_slice = realstathz / 10 ; hogticks = imax ( 1 , ( 2 * hz * sched_slice + realstathz / 2 ) / realstathz ) ; }
This routine determines time constants after stathz and hz are setup.
This routine determines time constants after stathz and hz are setup .
/* ~100ms */