Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dtty_info.c119 * Fetch running stats, pctcpu usage, and interruptable flag. in thread_compare()
293 int load, pctcpu; in tty_info() local
367 pctcpu = (sched_pctcpu(td) * 10000 + FSCALE / 2) >> FSHIFT; in tty_info()
394 pctcpu / 100, rss); in tty_info()
H A Dkern_racct.c324 fixpt_t pctcpu, pctcpu_next; in racct_getpcpu() local
362 pctcpu = sched_pctcpu(td); in racct_getpcpu()
364 pctcpu_next = (pctcpu * ccpu_exp[1]) >> FSHIFT; in racct_getpcpu()
366 p_pctcpu += max(pctcpu, pctcpu_next); in racct_getpcpu()
H A Dsched_ule.c2347 * slept. We also update the pctcpu, interactivity, and priority.
2842 fixpt_t pctcpu;
2845 pctcpu = 0; in sched_pctcpu() local
2855 pctcpu = (FSCALE * ((FSCALE * rtick)/hz)) >> FSHIFT; in sched_pctcpu()
2858 return (pctcpu); in sched_pctcpu()
/freebsd/usr.bin/top/
H A Dloadavg.h20 typedef long pctcpu; typedef