Searched refs:ts_slice (Results 1 – 2 of 2) sorted by relevance
98 int ts_slice; /* Remaining part of time slice. */ member687 td_get_sched(&thread0)->ts_slice = sched_slice; in sched_4bsd_init()751 if (!TD_IS_IDLETHREAD(td) && --ts->ts_slice <= 0) { in sched_clock_tick()752 ts->ts_slice = sched_slice; in sched_clock_tick()836 ts->ts_slice = 1; in sched_4bsd_fork_thread()1158 ts->ts_slice = sched_slice; in sched_4bsd_wakeup()
90 u_int ts_slice; /* Ticks of slice passed. */ member1897 ts0->ts_slice = 0; in sched_ule_init()2533 ts->ts_slice = 0; in sched_ule_wakeup()2597 ts2->ts_slice = tdq_slice(tdq) - sched_slice_min; in sched_ule_fork_thread()2777 ts->ts_slice += cnt; in sched_ule_clock()2778 if (ts->ts_slice >= td_slice(td, tdq)) { in sched_ule_clock()2779 ts->ts_slice = 0; in sched_ule_clock()