Searched refs:previous_count (Results 1 – 5 of 5) sorted by relevance
/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpuidle_sysfs.c | 20 static unsigned long long **previous_count; variable 29 - previous_count[cpu][id]; in cpuidle_get_count_percent() 51 previous_count[cpu][state] = in cpuidle_start() 54 cpu, state, previous_count[cpu][state]); in cpuidle_start() 73 cpu, state, previous_count[cpu][state]); in cpuidle_stop() 178 previous_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register() 181 previous_count[num] = malloc(sizeof(long long) * in cpuidle_register() 196 free(previous_count[num]); in cpuidle_unregister() 199 free(previous_count); in cpuidle_unregister()
|
H A D | snb_idle.c | 55 static unsigned long long *previous_count[SNB_CSTATE_COUNT]; variable 95 (current_count[id][cpu] - previous_count[id][cpu])) / in snb_get_count_percent() 99 snb_cstates[id].name, previous_count[id][cpu], in snb_get_count_percent() 105 current_count[id][cpu] - previous_count[id][cpu], in snb_get_count_percent() 119 previous_count[num][cpu] = val; in snb_start() 168 previous_count[num] = calloc(cpu_count, in snb_register() 182 free(previous_count[num]); in snb_unregister()
|
H A D | hsw_ext_idle.c | 57 static unsigned long long *previous_count[HSW_EXT_CSTATE_COUNT]; variable 97 (current_count[id][cpu] - previous_count[id][cpu])) / in hsw_ext_get_count_percent() 101 hsw_ext_cstates[id].name, previous_count[id][cpu], in hsw_ext_get_count_percent() 107 current_count[id][cpu] - previous_count[id][cpu], in hsw_ext_get_count_percent() 121 previous_count[num][cpu] = val; in hsw_ext_start() 163 previous_count[num] = calloc(cpu_count, in hsw_ext_register() 177 free(previous_count[num]); in hsw_ext_unregister()
|
H A D | nhm_idle.c | 66 static unsigned long long *previous_count[NHM_CSTATE_COUNT]; variable 110 (current_count[id][cpu] - previous_count[id][cpu])) / in nhm_get_count_percent() 114 nhm_cstates[id].name, previous_count[id][cpu], in nhm_get_count_percent() 120 current_count[id][cpu] - previous_count[id][cpu], in nhm_get_count_percent() 136 previous_count[num][cpu] = val; in nhm_start() 182 previous_count[num] = calloc(cpu_count, in intel_nhm_register() 197 free(previous_count[num]); in intel_nhm_unregister()
|
H A D | amd_fam14h_idle.c | 93 static unsigned long long *previous_count[AMD_FAM14H_STATE_NUM]; variable 154 previous_count[state->id][cpu] = 0; in amd_fam14h_init() 186 previous_count[state->id][cpu], cpu); in amd_fam14h_disable() 215 diff = current_count[id][cpu] - previous_count[id][cpu]; in fam14h_get_count_percent() 294 previous_count[num] = calloc(cpu_count, in amd_fam14h_register() 317 free(previous_count[num]); in amd_fam14h_unregister()
|