Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c159 unsigned long long aperf_diff, mperf_diff, tsc_diff; in mperf_get_count_percent() local
169 aperf_diff = aperf_current_count[cpu] - aperf_previous_count[cpu]; in mperf_get_count_percent()
188 mperf_cstates[id].name, mperf_diff, aperf_diff, cpu); in mperf_get_count_percent()
196 unsigned long long aperf_diff, mperf_diff, time_diff, tsc_diff; in mperf_get_count_freq() local
205 aperf_diff = aperf_current_count[cpu] - aperf_previous_count[cpu]; in mperf_get_count_freq()
214 *count = max_frequency * ((double)aperf_diff / mperf_diff); in mperf_get_count_freq()
219 dprint("aperf_diff: %llu\n", aperf_diff); in mperf_get_count_freq()