Lines Matching refs:CALC_ACCURACY
322 #define CALC_ACCURACY CALC_THOUSANDTH_PERCENT in calc_cpu_util_internal() macro
436 (delta_cpu_counters[i].idle * CALC_ACCURACY) / total_cpu_nsec; in calc_cpu_util_internal()
439 (delta_cpu_counters[i].user * CALC_ACCURACY) / total_cpu_nsec; in calc_cpu_util_internal()
442 (delta_cpu_counters[i].kernel * CALC_ACCURACY) / total_cpu_nsec; in calc_cpu_util_internal()
448 CALC_ACCURACY); in calc_cpu_util_internal()
451 CALC_ACCURACY); in calc_cpu_util_internal()
454 CALC_ACCURACY); in calc_cpu_util_internal()
510 (corrected_cpu_counters[i].idle * CALC_ACCURACY) / total_cpu_nsec; in calc_cpu_util_internal()
513 (corrected_cpu_counters[i].user * CALC_ACCURACY) / total_cpu_nsec; in calc_cpu_util_internal()
516 (corrected_cpu_counters[i].kernel * CALC_ACCURACY) / total_cpu_nsec; in calc_cpu_util_internal()
519 (corrected_cpu_counters[i].interrupt * CALC_ACCURACY) / total_cpu_nsec; in calc_cpu_util_internal()
530 (float)CALC_ACCURACY) * 100.0); in calc_cpu_util_internal()