Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dsched_ule.c100 int ts_ltick; /* Last tick that we were running on */ member
150 #define SCHED_TICK_TOTAL(ts) (max((ts)->ts_ltick - (ts)->ts_ftick, hz))
1610 td_get_sched(td)->ts_ftick, td_get_sched(td)->ts_ltick, in sched_priority()
1696 ts0->ts_ltick = ticks; in schedinit()
1730 if ((u_int)(t - ts->ts_ltick) >= SCHED_TICK_TARG) { in sched_pctcpu_update()
1734 ts->ts_ticks = (ts->ts_ticks / (ts->ts_ltick - ts->ts_ftick)) * in sched_pctcpu_update()
1735 (ts->ts_ltick - (t - SCHED_TICK_TARG)); in sched_pctcpu_update()
1739 ts->ts_ticks += (t - ts->ts_ltick) << SCHED_TICK_SHIFT; in sched_pctcpu_update()
1740 ts->ts_ltick = t; in sched_pctcpu_update()
2286 ts2->ts_ltick = ts->ts_ltick; in sched_fork_thread()