Searched refs:pctcpu (Results 1 - 5 of 5) sorted by relevance

/freebsd-9.3-release/contrib/top/
H A Dloadavg.h20 * Defined types: load_avg for load averages, pctcpu for cpu percentages.
42 typedef long pctcpu; typedef
45 typedef double pctcpu; typedef
H A Dm-template196 register pctcpu lresult;
202 /* compare percent cpu (pctcpu) */
/freebsd-9.3-release/sys/kern/
H A Dtty_info.c111 * Fetch running stats, pctcpu usage, and interruptable flag.
221 int load, pctcpu; local
292 pctcpu = (sched_pctcpu(td) * 10000 + FSCALE / 2) >> FSHIFT;
312 pctcpu / 100, rss);
H A Dkern_racct.c308 fixpt_t pctcpu, pctcpu_next; local
350 pctcpu = sched_pctcpu(td);
352 pctcpu_next = (pctcpu * ccpu_exp[1]) >> FSHIFT;
354 p_pctcpu += max(pctcpu, pctcpu_next);
H A Dsched_ule.c1967 * slept. We also update the pctcpu, interactivity, and priority.
2406 fixpt_t pctcpu; local
2409 pctcpu = 0;
2421 pctcpu = (FSCALE * ((FSCALE * rtick)/hz)) >> FSHIFT;
2424 return (pctcpu);

Completed in 128 milliseconds