Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c75 static unsigned long long *mperf_previous_count; variable
137 mperf_previous_count[cpu] = mval; in mperf_init_stats()
168 mperf_diff = mperf_current_count[cpu] - mperf_previous_count[cpu]; in mperf_get_count_percent()
204 mperf_diff = mperf_current_count[cpu] - mperf_previous_count[cpu]; in mperf_get_count_freq()
346 mperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
358 free(mperf_previous_count); in mperf_unregister()