Lines Matching refs:delta_cpu_counters
61 static cpu_time_counters_t delta_cpu_counters[MAXCPUS];
254 delta_cpu_counters[i].idle = ending_cpu_counters[i].idle -
256 delta_cpu_counters[i].user = ending_cpu_counters[i].user -
258 delta_cpu_counters[i].kernel = ending_cpu_counters[i].kernel -
260 delta_cpu_counters[i].interrupt = ending_cpu_counters[i].interrupt -
264 print_cpu_time_counters("delta_cpu_counters",i,delta_cpu_counters);
270 delta_cpu_counters[i].idle +
271 delta_cpu_counters[i].user +
272 delta_cpu_counters[i].kernel +
273 delta_cpu_counters[i].interrupt;
292 fraction_idle = (double)delta_cpu_counters[i].idle /
295 fraction_user = (double)delta_cpu_counters[i].user /
298 fraction_kernel = (double) delta_cpu_counters[i].kernel /
301 fraction_interrupt = (double)delta_cpu_counters[i].interrupt /
306 estimated_fraction_interrupt = ((double)delta_cpu_counters[i].interrupt +
337 (delta_cpu_counters[i].idle * CALC_ACCURACY) / sanity_cpu_cycles;
340 (delta_cpu_counters[i].user * CALC_ACCURACY) / sanity_cpu_cycles;
343 (delta_cpu_counters[i].kernel * CALC_ACCURACY) / sanity_cpu_cycles;
346 (delta_cpu_counters[i].interrupt * CALC_ACCURACY) / sanity_cpu_cycles;
350 ((delta_cpu_counters[i].interrupt +