Home
last modified time | relevance | path

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

/external/netperf/
Dnetcpu_procstat.c43 static uint64_t lib_start_count[MAXCPUS]; variable
184 get_cpu_idle(lib_start_count); in measure_cpu_start()
226 if (lib_end_count[i] == lib_start_count[i]) { in calc_cpu_util_internal()
230 actual_rate = (lib_end_count[i] > lib_start_count[i]) ? in calc_cpu_util_internal()
231 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed : in calc_cpu_util_internal()
232 (float)(lib_end_count[i] - lib_start_count[i] + in calc_cpu_util_internal()
241 lib_start_count[i], in calc_cpu_util_internal()
257 get_cpu_idle(lib_start_count); in cpu_start_internal()
Dnetcpu_sysctl.c58 static long lib_start_count[CPUSTATES]; variable
107 sum_busy += lib_end_count[i] - lib_start_count[i]; in calc_cpu_util_internal()
110 sum_idle = lib_end_count[CP_IDLE] - lib_start_count[CP_IDLE]; in calc_cpu_util_internal()
120 get_cpu_time(lib_start_count); in cpu_start_internal()
Dnetcpu_kstat.c44 static uint64_t lib_start_count[MAXCPUS]; variable
375 if (lib_end_count[i] == lib_start_count[i]) { in calc_cpu_util_internal()
379 actual_rate = (lib_end_count[i] > lib_start_count[i]) ? in calc_cpu_util_internal()
380 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed : in calc_cpu_util_internal()
381 (float)(lib_end_count[i] - lib_start_count[i] + in calc_cpu_util_internal()
388 lib_start_count[i], in calc_cpu_util_internal()
407 get_cpu_idle(lib_start_count); in cpu_start_internal()
Dnetcpu_looper.c67 static uint64_t lib_start_count[MAXCPUS]; variable
615 if (lib_end_count[i] == lib_start_count[i]) { in calc_cpu_util_internal()
619 actual_rate = (lib_end_count[i] > lib_start_count[i]) ? in calc_cpu_util_internal()
620 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed : in calc_cpu_util_internal()
621 (float)(lib_end_count[i] - lib_start_count[i] + in calc_cpu_util_internal()
628 (uint32_t)(lib_start_count[i]>>32), in calc_cpu_util_internal()
629 (uint32_t)(lib_start_count[i]&0xffffffff), in calc_cpu_util_internal()
648 get_cpu_idle(lib_start_count); in cpu_start_internal()
Dnetcpu_pstat.c37 static uint64_t lib_start_count[MAXCPUS]; variable
258 if (lib_end_count[i] >= lib_start_count[i]) { in calc_cpu_util_internal()
259 diff = lib_end_count[i] - lib_start_count[i]; in calc_cpu_util_internal()
262 diff = lib_end_count[i] - lib_start_count[i] + LONG_LONG_MAX; in calc_cpu_util_internal()
299 get_cpu_idle(lib_start_count); in cpu_start_internal()
Dnetcpu_perfstat.c46 static uint64_t lib_start_count[MAXCPUS]; variable
301 if (lib_end_count[i] >= lib_start_count[i]) { in calc_cpu_util_internal()
302 diff = lib_end_count[i] - lib_start_count[i]; in calc_cpu_util_internal()
305 diff = lib_end_count[i] - lib_start_count[i] + LONG_LONG_MAX; in calc_cpu_util_internal()
342 get_cpu_idle(lib_start_count); in cpu_start_internal()