Lines Matching refs:CALC_STAT
455 # define CALC_STAT(xxx) char xxx[8] macro
459 # define CALC_STAT(xxx) unsigned xxx = 100 * (unsigned)(p_jif->xxx - p_prev_jif->xxx) / total_diff macro
482 CALC_STAT(usr);
483 CALC_STAT(sys);
484 CALC_STAT(nic);
485 CALC_STAT(idle);
486 CALC_STAT(iowait);
487 CALC_STAT(irq);
488 CALC_STAT(softirq);
508 # undef CALC_STAT
632 # define CALC_STAT(name, val) div_t name = div((val), 10) macro
637 # define CALC_STAT(name, val) unsigned name = (val) macro
695 CALC_STAT(pmem, (s->vsz*pmem_scale + pmem_half) >> pmem_shift);
697 CALC_STAT(pcpu, (s->pcpu*pcpu_scale + pcpu_half) >> pcpu_shift);
726 #undef CALC_STAT