Home
last modified time | relevance | path

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

/linux-3.4.99/tools/power/cpupower/utils/idle_monitor/
Dcpuidle_sysfs.c22 static unsigned long long **previous_count; variable
31 - previous_count[cpu][id]; in cpuidle_get_count_percent()
53 previous_count[cpu][state] = in cpuidle_start()
56 cpu, state, previous_count[cpu][state]); in cpuidle_start()
75 cpu, state, previous_count[cpu][state]); in cpuidle_stop()
162 previous_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register()
165 previous_count[num] = malloc(sizeof(long long) * in cpuidle_register()
180 free(previous_count[num]); in cpuidle_unregister()
183 free(previous_count); in cpuidle_unregister()
Dsnb_idle.c56 static unsigned long long *previous_count[SNB_CSTATE_COUNT]; variable
96 (current_count[id][cpu] - previous_count[id][cpu])) / in snb_get_count_percent()
100 snb_cstates[id].name, previous_count[id][cpu], in snb_get_count_percent()
106 current_count[id][cpu] - previous_count[id][cpu], in snb_get_count_percent()
120 previous_count[num][cpu] = val; in snb_start()
159 previous_count[num] = calloc(cpu_count, in snb_register()
173 free(previous_count[num]); in snb_unregister()
Dnhm_idle.c67 static unsigned long long *previous_count[NHM_CSTATE_COUNT]; variable
111 (current_count[id][cpu] - previous_count[id][cpu])) / in nhm_get_count_percent()
115 nhm_cstates[id].name, previous_count[id][cpu], in nhm_get_count_percent()
121 current_count[id][cpu] - previous_count[id][cpu], in nhm_get_count_percent()
137 previous_count[num][cpu] = val; in nhm_start()
183 previous_count[num] = calloc(cpu_count, in intel_nhm_register()
198 free(previous_count[num]); in intel_nhm_unregister()
Damd_fam14h_idle.c94 static unsigned long long *previous_count[AMD_FAM14H_STATE_NUM]; variable
155 previous_count[state->id][cpu] = 0; in amd_fam14h_init()
187 previous_count[state->id][cpu], cpu); in amd_fam14h_disable()
216 diff = current_count[id][cpu] - previous_count[id][cpu]; in fam14h_get_count_percent()
295 previous_count[num] = calloc(cpu_count, in amd_fam14h_register()
318 free(previous_count[num]); in amd_fam14h_unregister()
/linux-3.4.99/drivers/md/
Ddm-snap.c908 uint64_t previous_count; in snapshot_merge_next_chunks() local
962 previous_count = read_pending_exceptions_done_count(); in snapshot_merge_next_chunks()
966 previous_count)); in snapshot_merge_next_chunks()
968 previous_count = read_pending_exceptions_done_count(); in snapshot_merge_next_chunks()