Home
last modified time | relevance | path

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

/freebsd-13.1/sys/kern/
H A Dsched_4bsd.c100 int ts_slice; /* Remaining part of time slice. */ member
677 td_get_sched(&thread0)->ts_slice = sched_slice; in schedinit()
740 if (!TD_IS_IDLETHREAD(td) && --ts->ts_slice <= 0) { in sched_clock_tick()
741 ts->ts_slice = sched_slice; in sched_clock_tick()
810 ts->ts_slice = 1; in sched_fork_thread()
1131 ts->ts_slice = sched_slice; in sched_wakeup()
H A Dsched_ule.c97 int ts_slice; /* Ticks of slice remaining. */ member
1742 ts0->ts_slice = 0; in schedinit()
2332 ts->ts_slice = 0; in sched_wakeup()
2396 ts2->ts_slice = tdq_slice(tdq) - sched_slice_min; in sched_fork_thread()
2554 ts->ts_slice += cnt; in sched_clock()
2555 if (ts->ts_slice >= tdq_slice(tdq)) { in sched_clock()
2556 ts->ts_slice = 0; in sched_clock()