Home
last modified time | relevance | path

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

/xen/tools/misc/
A Dxenpm.c325 ret = xc_get_cpufreq_avgfreq(xc_handle, cpuid, avgfreq); in get_avgfreq_by_cpuid()
404 static int *avgfreq; variable
461 get_avgfreq_by_cpuid(xc_handle, i, &avgfreq[i]); in signal_int_handler()
503 if ( px_cap && avgfreq[i] ) in signal_int_handler()
504 printf(" Avg freq\t%d\tKHz\n", avgfreq[i]); in signal_int_handler()
608 free(avgfreq); in signal_int_handler()
653 avgfreq = calloc(max_cpu_nr, sizeof(*avgfreq)); in start_gather_func()
654 if ( avgfreq == NULL ) in start_gather_func()
679 get_avgfreq_by_cpuid(xc_handle, i, &avgfreq[i]); in start_gather_func()
688 free(avgfreq); in start_gather_func()
[all …]

Completed in 3 milliseconds