Home
last modified time | relevance | path

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

/external/netperf/
Dnetcpu_sysctl.c102 long sum_idle, sum_busy; in calc_cpu_util_internal() local
105 for (sum_busy = 0, i = 0; i < CPUSTATES; i++) { in calc_cpu_util_internal()
107 sum_busy += lib_end_count[i] - lib_start_count[i]; in calc_cpu_util_internal()
111 lib_local_cpu_util = (float)sum_busy / (float)(sum_busy + sum_idle); in calc_cpu_util_internal()