Home
last modified time | relevance | path

Searched refs:mperf_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
168 mperf_diff = mperf_current_count[cpu] - mperf_previous_count[cpu]; in mperf_get_count_percent()
173 *percent = 100.0 * mperf_diff / tsc_diff; in mperf_get_count_percent()
175 mperf_cstates[id].name, mperf_diff, tsc_diff); in mperf_get_count_percent()
178 *percent = 100.0 * mperf_diff / timediff; in mperf_get_count_percent()
180 mperf_cstates[id].name, mperf_diff, timediff); 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
204 mperf_diff = mperf_current_count[cpu] - mperf_previous_count[cpu]; in mperf_get_count_freq()
214 *count = max_frequency * ((double)aperf_diff / mperf_diff); in mperf_get_count_freq()
[all …]