Home
last modified time | relevance | path

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

/external/netperf/
Dnetcpu_procstat.c44 static uint64_t lib_end_count[MAXCPUS]; variable
191 get_cpu_idle(lib_end_count); in measure_cpu_stop()
226 if (lib_end_count[i] == lib_start_count[i]) { in calc_cpu_util_internal()
227 lib_end_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()
242 lib_end_count[i], in calc_cpu_util_internal()
264 get_cpu_idle(lib_end_count); in cpu_stop_internal()
Dnetcpu_kstat.c45 static uint64_t lib_end_count[MAXCPUS]; variable
375 if (lib_end_count[i] == lib_start_count[i]) { in calc_cpu_util_internal()
376 lib_end_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()
389 lib_end_count[i]); in calc_cpu_util_internal()
414 get_cpu_idle(lib_end_count); in cpu_stop_internal()
Dnetcpu_looper.c68 static uint64_t lib_end_count[MAXCPUS]; variable
615 if (lib_end_count[i] == lib_start_count[i]) { in calc_cpu_util_internal()
616 lib_end_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()
630 (uint32_t)(lib_end_count[i]>>32), in calc_cpu_util_internal()
631 (uint32_t)(lib_end_count[i]&0xffffffff)); in calc_cpu_util_internal()
655 get_cpu_idle(lib_end_count); in cpu_stop_internal()
Dnetcpu_sysctl.c59 static long lib_end_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()
126 get_cpu_time(lib_end_count); in cpu_stop_internal()
Dnetcpu_pstat.c38 static uint64_t lib_end_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()
306 get_cpu_idle(lib_end_count); in cpu_stop_internal()
Dnetcpu_perfstat.c47 static uint64_t lib_end_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()
349 get_cpu_idle(lib_end_count); in cpu_stop_internal()