Home
last modified time | relevance | path

Searched refs:ts_slice (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dsched_4bsd.c98 int ts_slice; /* Remaining part of time slice. */ member
672 td_get_sched(&thread0)->ts_slice = sched_slice; in sched_4bsd_init()
736 if (!TD_IS_IDLETHREAD(td) && --ts->ts_slice <= 0) { in sched_clock_tick()
737 ts->ts_slice = sched_slice; in sched_clock_tick()
821 ts->ts_slice = 1; in sched_4bsd_fork_thread()
1143 ts->ts_slice = sched_slice; in sched_4bsd_wakeup()
H A Dsched_ule.c92 u_int ts_slice; /* Ticks of slice remaining. */ member
1867 ts0->ts_slice = 0; in sched_ule_init()
2503 ts->ts_slice = 0; in sched_ule_wakeup()
2567 ts2->ts_slice = tdq_slice(tdq) - sched_slice_min; in sched_ule_fork_thread()
2747 ts->ts_slice += cnt; in sched_ule_clock()
2748 if (ts->ts_slice >= td_slice(td, tdq)) { in sched_ule_clock()
2749 ts->ts_slice = 0; in sched_ule_clock()