Searched refs:current_count (Results 1 – 5 of 5) sorted by relevance
/tools/power/cpupower/utils/idle_monitor/ |
D | snb_idle.c | 57 static unsigned long long *current_count[SNB_CSTATE_COUNT]; variable 96 (current_count[id][cpu] - previous_count[id][cpu])) / in snb_get_count_percent() 101 current_count[id][cpu], cpu); in snb_get_count_percent() 106 current_count[id][cpu] - previous_count[id][cpu], in snb_get_count_percent() 137 current_count[num][cpu] = val; in snb_stop() 171 current_count[num] = calloc(cpu_count, in snb_register() 184 free(current_count[num]); in snb_unregister()
|
D | hsw_ext_idle.c | 60 static unsigned long long *current_count[HSW_EXT_CSTATE_COUNT]; variable 99 (current_count[id][cpu] - previous_count[id][cpu])) / in hsw_ext_get_count_percent() 104 current_count[id][cpu], cpu); in hsw_ext_get_count_percent() 109 current_count[id][cpu] - previous_count[id][cpu], in hsw_ext_get_count_percent() 140 current_count[num][cpu] = val; in hsw_ext_stop() 167 current_count[num] = calloc(cpu_count, in hsw_ext_register() 180 free(current_count[num]); in hsw_ext_unregister()
|
D | cpuidle_sysfs.c | 23 static unsigned long long **current_count; variable 30 unsigned long long statediff = current_count[cpu][id] in cpuidle_get_count_percent() 72 current_count[cpu][state] = in cpuidle_stop() 166 current_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register() 170 current_count[num] = malloc(sizeof(long long) * in cpuidle_register() 184 free(current_count[num]); in cpuidle_unregister() 187 free(current_count); in cpuidle_unregister()
|
D | nhm_idle.c | 68 static unsigned long long *current_count[NHM_CSTATE_COUNT]; variable 111 (current_count[id][cpu] - previous_count[id][cpu])) / in nhm_get_count_percent() 116 current_count[id][cpu], cpu); in nhm_get_count_percent() 121 current_count[id][cpu] - previous_count[id][cpu], in nhm_get_count_percent() 156 current_count[num][cpu] = val; in nhm_stop() 185 current_count[num] = calloc(cpu_count, in intel_nhm_register() 199 free(current_count[num]); in intel_nhm_unregister()
|
D | amd_fam14h_idle.c | 95 static unsigned long long *current_count[AMD_FAM14H_STATE_NUM]; variable 182 current_count[state->id][cpu] = val; in amd_fam14h_disable() 185 current_count[state->id][cpu], cpu); in amd_fam14h_disable() 216 diff = current_count[id][cpu] - previous_count[id][cpu]; in fam14h_get_count_percent() 297 current_count[num] = calloc(cpu_count, in amd_fam14h_register() 319 free(current_count[num]); in amd_fam14h_unregister()
|