Home
last modified time | relevance | path

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

/linux-2.6.39/tools/power/x86/turbostat/
Dturbostat.c77 unsigned long long aperf; /* per thread */ member
172 fprintf(stderr, "aperf: %016llX\n", cnt->aperf); in dump_cnt()
223 1.0 * p->tsc / units * p->aperf / in print_cnt()
226 if (p->aperf > p->tsc || p->mperf > p->tsc) { in print_cnt()
231 units * p->aperf / in print_cnt()
348 perf_err = SUBTRACT_COUNTER(after->aperf, before->aperf, delta->aperf); in compute_delta()
351 before->cpu, before->aperf, after->aperf); in compute_delta()
419 sum->aperf += delta->aperf; in compute_average()
431 avg->aperf = sum->aperf/num_cpus; in compute_average()
452 cnt->aperf = get_msr(cnt->cpu, MSR_APERF); in get_counters()
/linux-2.6.39/arch/x86/include/asm/
Dprocessor.h976 u64 aperf, mperf; member
983 rdmsrl(MSR_IA32_APERF, am->aperf); in get_aperfmperf()
993 u64 aperf = new->aperf - old->aperf; in calc_aperfmperf_ratio() local
995 unsigned long ratio = aperf; in calc_aperfmperf_ratio()
999 ratio = div64_u64(aperf, mperf); in calc_aperfmperf_ratio()