Home
last modified time | relevance | path

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

/tools/power/cpupower/utils/idle_monitor/
Dsnb_idle.c57 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()
Dhsw_ext_idle.c60 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()
Dcpuidle_sysfs.c23 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()
Dnhm_idle.c68 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()
Damd_fam14h_idle.c95 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()