Home
last modified time | relevance | path

Searched refs:previous_count (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/power/cpupower/utils/idle_monitor/
Dcpuidle_sysfs.c20 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()
Dsnb_idle.c55 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()
Dhsw_ext_idle.c57 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()
Dnhm_idle.c66 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()
Damd_fam14h_idle.c93 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()
/linux-6.12.1/drivers/md/
Ddm-snap.c1048 uint64_t previous_count; in snapshot_merge_next_chunks() local
1101 previous_count = read_pending_exceptions_done_count(); in snapshot_merge_next_chunks()
1105 previous_count)); in snapshot_merge_next_chunks()
1107 previous_count = read_pending_exceptions_done_count(); in snapshot_merge_next_chunks()