Lines Matching refs:itv
153 static double percent_value(data_t prev, data_t curr, data_t itv) in percent_value() argument
155 return ((double)overflow_safe_sub(prev, curr)) / itv * 100; in percent_value()
158 static double hz_value(data_t prev, data_t curr, data_t itv) in hz_value() argument
161 return ((double)overflow_safe_sub(prev, curr)) / itv * G.hz; in hz_value()
177 data_t itv, in write_irqcpu_stats() argument
267 (double)(p->interrupts - q->interrupts) / itv * G.hz); in write_irqcpu_stats()
292 data_t itv) in print_stats_cpu_struct() argument
296 /**/ c->cpu_user - c->cpu_guest, itv), 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()
312 data_t itv, global_itv; in write_stats_core() local
316 itv = global_itv = jiffies_diff(G.global_uptime[prev], G.global_uptime[current]); in write_stats_core()
320 itv = jiffies_diff(G.per_cpu_uptime[prev], G.per_cpu_uptime[current]); in write_stats_core()
399 per_cpu_itv = itv; in write_stats_core()
419 itv, in write_stats_core()
427 itv, in write_stats_core()