Searched refs:lib_end_count (Results 1 – 6 of 6) sorted by relevance
44 static uint64_t lib_end_count[MAXCPUS]; variable191 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()
45 static uint64_t lib_end_count[MAXCPUS]; variable375 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()
68 static uint64_t lib_end_count[MAXCPUS]; variable615 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()
59 static long lib_end_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()126 get_cpu_time(lib_end_count); in cpu_stop_internal()
38 static uint64_t lib_end_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()306 get_cpu_idle(lib_end_count); in cpu_stop_internal()
47 static uint64_t lib_end_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()349 get_cpu_idle(lib_end_count); in cpu_stop_internal()