Lines Matching defs:sched_slice
205 * sched_slice: Runtime of each thread before rescheduling.
211 static int __read_mostly sched_slice = 10; /* reset during boot. */
592 * aside from curthread and target no more than sched_slice latency but
609 return (sched_slice);
610 return (sched_slice / load);
1561 sched_slice = realstathz / SCHED_SLICE_DEFAULT_DIVISOR;
1562 sched_slice_min = sched_slice / SCHED_SLICE_MIN_DIVISOR;
1563 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) /
1806 * at most sched_slice stathz ticks.
1812 /* Convert sched_slice from stathz to hz. */
1813 return (imax(1, (sched_slice * hz + realstathz / 2) / realstathz));
2553 * sched_slice. For other threads it is tdq_slice(tdq).
2559 return (sched_slice);
3289 new_val = period * sched_slice;
3295 sched_slice = imax(1, (new_val + period / 2) / period);
3296 sched_slice_min = sched_slice / SCHED_SLICE_MIN_DIVISOR;
3297 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) /
3310 SYSCTL_INT(_kern_sched, OID_AUTO, slice, CTLFLAG_RW, &sched_slice, 0,