Searched refs:PCTCPU (Results 1 – 1 of 1) sorted by relevance
79 #define PCTCPU(pp) (pcpu[pp - pbase]) macro724 return (PCTCPU(pp) != 0); in proc_used_cpu()856 PCTCPU(pp) = proc_calc_pctcpu(pp); in get_process_info()857 if (sel->thread && PCTCPU(pp) > 1.0) in get_process_info()858 PCTCPU(pp) = 1.0; in get_process_info()1157 …sbuf_printf(procbuf, "%6.2f%% ", ps.wcpu ? 100.0 * weighted_cpu(PCTCPU(pp), pp) : 100.0 * PCTCPU(p… in format_next_process()1286 diff = weighted_cpu(PCTCPU((b)), (b)) - \1287 weighted_cpu(PCTCPU((a)), (a)); \1289 diff = PCTCPU((b)) - PCTCPU((a)); \