Searched refs:lib_start_count (Results 1 – 6 of 6) sorted by relevance
/external/netperf/src/ |
D | netcpu_procstat.c | 61 static cpu_states_t lib_start_count[MAXCPUS]; variable 220 get_cpu(lib_start_count); in measure_cpu_start() 279 tick_subtract(lib_start_count[i].user, lib_end_count[i].user); in calc_cpu_util_internal() 281 tick_subtract(lib_start_count[i].nice, lib_end_count[i].nice); in calc_cpu_util_internal() 283 tick_subtract(lib_start_count[i].sys, lib_end_count[i].sys); in calc_cpu_util_internal() 285 tick_subtract(lib_start_count[i].idle, lib_end_count[i].idle); in calc_cpu_util_internal() 287 tick_subtract(lib_start_count[i].iowait, lib_end_count[i].iowait); in calc_cpu_util_internal() 289 tick_subtract(lib_start_count[i].hard_irq, lib_end_count[i].hard_irq); in calc_cpu_util_internal() 291 tick_subtract(lib_start_count[i].soft_irq, lib_end_count[i].soft_irq); in calc_cpu_util_internal() 293 tick_subtract(lib_start_count[i].steal, lib_end_count[i].steal); in calc_cpu_util_internal() [all …]
|
D | netcpu_sysctl.c | 63 static CP_TIME_TYPE lib_start_count[CPUSTATES]; variable 114 sum_busy += lib_end_count[i] - lib_start_count[i]; in calc_cpu_util_internal() 117 sum_idle = lib_end_count[CP_IDLE] - lib_start_count[CP_IDLE]; in calc_cpu_util_internal() 127 get_cpu_time(lib_start_count); in cpu_start_internal()
|
D | netcpu_kstat.c | 44 static uint64_t lib_start_count[MAXCPUS]; variable 376 if (lib_end_count[i] == lib_start_count[i]) { in calc_cpu_util_internal() 380 actual_rate = (lib_end_count[i] > lib_start_count[i]) ? in calc_cpu_util_internal() 381 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed : in calc_cpu_util_internal() 382 (float)(lib_end_count[i] - lib_start_count[i] + in calc_cpu_util_internal() 389 lib_start_count[i], in calc_cpu_util_internal() 406 get_cpu_idle(lib_start_count); in cpu_start_internal()
|
D | netcpu_looper.c | 67 static uint64_t lib_start_count[MAXCPUS]; variable 616 if (lib_end_count[i] == lib_start_count[i]) { in calc_cpu_util_internal() 620 actual_rate = (lib_end_count[i] > lib_start_count[i]) ? in calc_cpu_util_internal() 621 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed : in calc_cpu_util_internal() 622 (float)(lib_end_count[i] - lib_start_count[i] + in calc_cpu_util_internal() 629 (uint32_t)(lib_start_count[i]>>32), in calc_cpu_util_internal() 630 (uint32_t)(lib_start_count[i]&0xffffffff), in calc_cpu_util_internal() 648 get_cpu_idle(lib_start_count); in cpu_start_internal()
|
D | netcpu_pstat.c | 37 static uint64_t lib_start_count[MAXCPUS]; variable 259 if (lib_end_count[i] >= lib_start_count[i]) { in calc_cpu_util_internal() 260 diff = lib_end_count[i] - lib_start_count[i]; in calc_cpu_util_internal() 263 diff = lib_end_count[i] - lib_start_count[i] + LONG_LONG_MAX; in calc_cpu_util_internal() 296 get_cpu_idle(lib_start_count); in cpu_start_internal()
|
D | netcpu_perfstat.c | 46 static uint64_t lib_start_count[MAXCPUS]; variable 305 if (lib_end_count[i] >= lib_start_count[i]) { in calc_cpu_util_internal() 306 diff = lib_end_count[i] - lib_start_count[i]; in calc_cpu_util_internal() 309 diff = lib_end_count[i] - lib_start_count[i] + LONG_LONG_MAX; in calc_cpu_util_internal() 347 get_cpu_idle(lib_start_count); in cpu_start_internal()
|