Searched refs:lib_start_count (Results 1 – 6 of 6) sorted by relevance
43 static uint64_t lib_start_count[MAXCPUS]; variable184 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()
58 static long lib_start_count[CPUSTATES]; variable107 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()
44 static uint64_t lib_start_count[MAXCPUS]; variable375 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()
67 static uint64_t lib_start_count[MAXCPUS]; variable615 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()
46 static uint64_t lib_start_count[MAXCPUS]; variable301 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()
37 static uint64_t lib_start_count[MAXCPUS]; variable258 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()