Searched refs:is_valid (Results 1 – 4 of 4) sorted by relevance
/tools/power/cpupower/utils/idle_monitor/ |
D | nhm_idle.c | 70 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()
|
D | mperf_monitor.c | 78 static int *is_valid; variable 99 is_valid[cpu] = !ret; in mperf_init_stats() 113 is_valid[cpu] = !ret; in mperf_measure_stats() 124 if (!is_valid[cpu]) in mperf_get_count_percent() 163 if (!is_valid[cpu]) in mperf_get_count_freq() 309 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register() 325 free(is_valid); in mperf_unregister()
|
D | snb_idle.c | 59 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()
|
D | hsw_ext_idle.c | 61 static int *is_valid; variable 94 if (!is_valid[cpu]) in hsw_ext_get_count_percent() 138 is_valid[cpu] = !hsw_ext_get_count(num, &val, cpu); in hsw_ext_stop() 162 is_valid = calloc(cpu_count, sizeof(int)); in hsw_ext_register() 176 free(is_valid); in hsw_ext_unregister()
|