Lines Matching refs:sched_slice
136 static int sched_slice = 12; /* Thread run time before rescheduling. */ variable
206 new_val = period * sched_slice; in sysctl_kern_quantum()
212 sched_slice = imax(1, (new_val + period / 2) / period); in sysctl_kern_quantum()
213 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) / in sysctl_kern_quantum()
227 SYSCTL_INT(_kern_sched, OID_AUTO, slice, CTLFLAG_RW, &sched_slice, 0,
662 sched_slice = realstathz / 10; /* ~100ms */ in sched_initticks()
663 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) / in sched_initticks()
683 td_get_sched(&thread0)->ts_slice = sched_slice; in schedinit()
710 return (imax(1, (sched_slice * hz + realstathz / 2) / realstathz)); in sched_rr_interval()
752 ts->ts_slice = sched_slice; in sched_clock_tick()
1158 ts->ts_slice = sched_slice; in sched_wakeup()