Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c76 static unsigned long long *aperf_previous_count; variable
136 aperf_previous_count[cpu] = aval; in mperf_init_stats()
169 aperf_diff = aperf_current_count[cpu] - aperf_previous_count[cpu]; in mperf_get_count_percent()
205 aperf_diff = aperf_current_count[cpu] - aperf_previous_count[cpu]; in mperf_get_count_freq()
347 aperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
359 free(aperf_previous_count); in mperf_unregister()