Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dsched_4bsd.c95 u_int ts_estcpu; /* Estimated cpu utilization. */ member
539 ts->ts_estcpu = decay_cpu(loadfac, ts->ts_estcpu); in schedcpu()
577 ts->ts_estcpu = 0; in updatepri()
579 newcpu = ts->ts_estcpu; in updatepri()
583 ts->ts_estcpu = newcpu; in updatepri()
600 td_get_sched(td)->ts_estcpu / INVERSE_ESTCPU_WEIGHT + in resetpriority()
726 ts->ts_estcpu = ESTCPULIM(ts->ts_estcpu + 1); in sched_clock_tick()
727 if ((ts->ts_estcpu % INVERSE_ESTCPU_WEIGHT) == 0) { in sched_clock_tick()
790 td_get_sched(td)->ts_estcpu = ESTCPULIM(td_get_sched(td)->ts_estcpu + in sched_4bsd_exit_thread()
791 td_get_sched(child)->ts_estcpu); in sched_4bsd_exit_thread()
[all …]