Searched refs:percent_value (Results 1 – 2 of 2) sorted by relevance
/busybox-1.35.0/procps/ |
D | iostat.c | 232 static double percent_value(cputime_t prev, cputime_t curr, cputime_t itv) in percent_value() function 242 percent_value(p[STATS_CPU_USER] , c[STATS_CPU_USER] , stats->itv), in print_stats_cpu_struct() 243 percent_value(p[STATS_CPU_NICE] , c[STATS_CPU_NICE] , stats->itv), in print_stats_cpu_struct() 244 percent_value(p[STATS_CPU_SYSTEM] + p[STATS_CPU_SOFTIRQ] + p[STATS_CPU_IRQ], in print_stats_cpu_struct() 246 percent_value(p[STATS_CPU_IOWAIT], c[STATS_CPU_IOWAIT], stats->itv), in print_stats_cpu_struct() 247 percent_value(p[STATS_CPU_STEAL] , c[STATS_CPU_STEAL] , stats->itv), in print_stats_cpu_struct() 248 percent_value(p[STATS_CPU_IDLE] , c[STATS_CPU_IDLE] , stats->itv) in print_stats_cpu_struct() 271 percent_value(p->rd_ops + p->wr_ops, c->rd_ops + c->wr_ops, itv), in print_stats_dev_struct() 272 percent_value(p->rd_sectors, c->rd_sectors, itv) / G.unit.div, in print_stats_dev_struct() 273 percent_value(p->wr_sectors, c->wr_sectors, itv) / G.unit.div, in print_stats_dev_struct()
|
D | mpstat.c | 153 static double percent_value(data_t prev, data_t curr, data_t itv) in percent_value() function 295 percent_value(p->cpu_user - p->cpu_guest, in print_stats_cpu_struct() 297 percent_value(p->cpu_nice , c->cpu_nice , itv), in print_stats_cpu_struct() 298 percent_value(p->cpu_system , c->cpu_system , itv), in print_stats_cpu_struct() 299 percent_value(p->cpu_iowait , c->cpu_iowait , itv), in print_stats_cpu_struct() 300 percent_value(p->cpu_irq , c->cpu_irq , itv), in print_stats_cpu_struct() 301 percent_value(p->cpu_softirq, c->cpu_softirq, itv), in print_stats_cpu_struct() 302 percent_value(p->cpu_steal , c->cpu_steal , itv), in print_stats_cpu_struct() 303 percent_value(p->cpu_guest , c->cpu_guest , itv), in print_stats_cpu_struct() 304 percent_value(p->cpu_idle , c->cpu_idle , itv) in print_stats_cpu_struct()
|