Searched refs:p_jif (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/procps/ |
D | top.c | 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) [all …]
|