Home
last modified time | relevance | path

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

/freebsd-12.1/sys/kern/
H A Dsched_4bsd.c97 u_int ts_estcpu; /* Estimated cpu utilization. */ member
546 ts->ts_estcpu = decay_cpu(loadfac, ts->ts_estcpu); in schedcpu()
584 ts->ts_estcpu = 0; in updatepri()
586 newcpu = ts->ts_estcpu; in updatepri()
590 ts->ts_estcpu = newcpu; in updatepri()
719 ts->ts_estcpu = ESTCPULIM(ts->ts_estcpu + 1); in sched_clock()
720 if ((ts->ts_estcpu % INVERSE_ESTCPU_WEIGHT) == 0) { in sched_clock()
760 td_get_sched(td)->ts_estcpu = ESTCPULIM(td_get_sched(td)->ts_estcpu + in sched_exit_thread()
761 td_get_sched(child)->ts_estcpu); in sched_exit_thread()
789 ts->ts_estcpu = tsc->ts_estcpu; in sched_fork_thread()
[all …]