Home
last modified time | relevance | path

Searched refs:CALC_ACCURACY (Results 1 – 2 of 2) sorted by relevance

/external/netperf/
Dnetcpu_kstat10.c322 #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()
[all …]
Dnetcpu_pstatnew.c195 #define CALC_ACCURACY CALC_THOUSANDTH_PERCENT in calc_cpu_util_internal() macro
337 (delta_cpu_counters[i].idle * CALC_ACCURACY) / sanity_cpu_cycles; in calc_cpu_util_internal()
340 (delta_cpu_counters[i].user * CALC_ACCURACY) / sanity_cpu_cycles; in calc_cpu_util_internal()
343 (delta_cpu_counters[i].kernel * CALC_ACCURACY) / sanity_cpu_cycles; in calc_cpu_util_internal()
346 (delta_cpu_counters[i].interrupt * CALC_ACCURACY) / sanity_cpu_cycles; in calc_cpu_util_internal()
352 CALC_ACCURACY) / sanity_cpu_cycles; in calc_cpu_util_internal()
365 (float)CALC_ACCURACY) * 100.0); in calc_cpu_util_internal()