Searched refs:sched_slice (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.1-release/sys/kern/ |
H A D | sched_4bsd.c | 124 static int sched_slice = 12; /* Thread run time before rescheduling. */ variable 194 new_val = period * sched_slice; 200 sched_slice = imax(1, (new_val + period / 2) / period); 201 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) / 213 SYSCTL_INT(_kern_sched, OID_AUTO, slice, CTLFLAG_RW, &sched_slice, 0, 668 sched_slice = realstathz / 10; /* ~100ms */ 669 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) / 690 td_sched0.ts_slice = sched_slice; 708 /* Convert sched_slice from stathz to hz. */ 709 return (imax(1, (sched_slice * h [all...] |
H A D | sched_ule.c | 202 * sched_slice: Runtime of each thread before rescheduling. 208 static int sched_slice = 10; /* reset during boot. */ variable 567 * aside from curthread and target no more than sched_slice latency but 584 return (sched_slice); 585 return (sched_slice / load); 1408 sched_slice = realstathz / SCHED_SLICE_DEFAULT_DIVISOR; 1409 sched_slice_min = sched_slice / SCHED_SLICE_MIN_DIVISOR; 1410 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) / 1616 * at most sched_slice stathz ticks. 1622 /* Convert sched_slice fro [all...] |
Completed in 95 milliseconds