Lines Matching refs:p_jif
277 static NOINLINE int read_cpu_jiffy(FILE *fp, jiffy_counts_t *p_jif) in read_cpu_jiffy() argument
289 &p_jif->usr, &p_jif->nic, &p_jif->sys, &p_jif->idle, in read_cpu_jiffy()
290 &p_jif->iowait, &p_jif->irq, &p_jif->softirq, in read_cpu_jiffy()
291 &p_jif->steal); in read_cpu_jiffy()
293 p_jif->total = p_jif->usr + p_jif->nic + p_jif->sys + p_jif->idle in read_cpu_jiffy()
294 + p_jif->iowait + p_jif->irq + p_jif->softirq + p_jif->steal; in read_cpu_jiffy()
296 p_jif->busy = p_jif->total - p_jif->idle - p_jif->iowait; in read_cpu_jiffy()
442 jiffy_counts_t *p_jif, *p_prev_jif; local
450 total_diff = (unsigned)(p_jif->total - p_prev_jif->total); \
456 # define SHOW_STAT(xxx) fmt_100percent_8(xxx, (unsigned)(p_jif->xxx - p_prev_jif->xxx), total_diff)
459 # define CALC_STAT(xxx) unsigned xxx = 100 * (unsigned)(p_jif->xxx - p_prev_jif->xxx) / total_diff
467 p_jif = &cur_jif;
476 p_jif = &cpu_jif[i];