Home
last modified time | relevance | path

Searched refs:is_valid (Results 1 – 4 of 4) sorted by relevance

/tools/power/cpupower/utils/idle_monitor/
Dnhm_idle.c70 static int *is_valid; variable
107 if (!is_valid[cpu]) in nhm_get_count_percent()
136 is_valid[cpu] = !nhm_get_count(num, &val, cpu); in nhm_start()
155 is_valid[cpu] = !nhm_get_count(num, &val, cpu); in nhm_stop()
181 is_valid = calloc(cpu_count, sizeof(int)); in intel_nhm_register()
201 free(is_valid); in intel_nhm_unregister()
Dsnb_idle.c59 static int *is_valid; variable
92 if (!is_valid[cpu]) in snb_get_count_percent()
136 is_valid[cpu] = !snb_get_count(num, &val, cpu); in snb_stop()
167 is_valid = calloc(cpu_count, sizeof(int)); in snb_register()
181 free(is_valid); in snb_unregister()
Dmperf_monitor.c78 static int *is_valid; variable
98 is_valid[cpu] = !ret; in mperf_init_stats()
112 is_valid[cpu] = !ret; in mperf_measure_stats()
123 if (!is_valid[cpu]) in mperf_get_count_percent()
162 if (!is_valid[cpu]) in mperf_get_count_freq()
308 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register()
324 free(is_valid); in mperf_unregister()
Dhsw_ext_idle.c62 static int *is_valid; variable
95 if (!is_valid[cpu]) in hsw_ext_get_count_percent()
139 is_valid[cpu] = !hsw_ext_get_count(num, &val, cpu); in hsw_ext_stop()
163 is_valid = calloc(cpu_count, sizeof(int)); in hsw_ext_register()
177 free(is_valid); in hsw_ext_unregister()