Home
last modified time | relevance | path

Searched refs:current_count (Results 1 – 5 of 5) sorted by relevance

/tools/power/cpupower/utils/idle_monitor/
Dhsw_ext_idle.c58 static unsigned long long *current_count[HSW_EXT_CSTATE_COUNT]; variable
97 (current_count[id][cpu] - previous_count[id][cpu])) / in hsw_ext_get_count_percent()
102 current_count[id][cpu], cpu); in hsw_ext_get_count_percent()
107 current_count[id][cpu] - previous_count[id][cpu], in hsw_ext_get_count_percent()
138 current_count[num][cpu] = val; in hsw_ext_stop()
165 current_count[num] = calloc(cpu_count, in hsw_ext_register()
178 free(current_count[num]); in hsw_ext_unregister()
Dsnb_idle.c56 static unsigned long long *current_count[SNB_CSTATE_COUNT]; variable
95 (current_count[id][cpu] - previous_count[id][cpu])) / in snb_get_count_percent()
100 current_count[id][cpu], cpu); in snb_get_count_percent()
105 current_count[id][cpu] - previous_count[id][cpu], in snb_get_count_percent()
136 current_count[num][cpu] = val; in snb_stop()
170 current_count[num] = calloc(cpu_count, in snb_register()
183 free(current_count[num]); in snb_unregister()
Dnhm_idle.c67 static unsigned long long *current_count[NHM_CSTATE_COUNT]; variable
110 (current_count[id][cpu] - previous_count[id][cpu])) / in nhm_get_count_percent()
115 current_count[id][cpu], cpu); in nhm_get_count_percent()
120 current_count[id][cpu] - previous_count[id][cpu], in nhm_get_count_percent()
155 current_count[num][cpu] = val; in nhm_stop()
184 current_count[num] = calloc(cpu_count, in intel_nhm_register()
198 free(current_count[num]); in intel_nhm_unregister()
Dcpuidle_sysfs.c21 static unsigned long long **current_count; variable
28 unsigned long long statediff = current_count[cpu][id] in cpuidle_get_count_percent()
70 current_count[cpu][state] = in cpuidle_stop()
179 current_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register()
183 current_count[num] = malloc(sizeof(long long) * in cpuidle_register()
197 free(current_count[num]); in cpuidle_unregister()
200 free(current_count); in cpuidle_unregister()
Damd_fam14h_idle.c94 static unsigned long long *current_count[AMD_FAM14H_STATE_NUM]; variable
181 current_count[state->id][cpu] = val; in amd_fam14h_disable()
184 current_count[state->id][cpu], cpu); in amd_fam14h_disable()
215 diff = current_count[id][cpu] - previous_count[id][cpu]; in fam14h_get_count_percent()
296 current_count[num] = calloc(cpu_count, in amd_fam14h_register()
318 free(current_count[num]); in amd_fam14h_unregister()