Lines Matching refs:mperf
137 unsigned long long mperf; member
397 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters()
505 outp += sprintf(outp, "%8.2f", 100.0 * t->mperf/t->tsc); in format_counters()
513 1.0 * t->tsc / units * t->aperf / t->mperf / interval_float); in format_counters()
733 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread()
735 old->mperf = new->mperf - old->mperf; in delta_thread()
766 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > old->tsc) in delta_thread()
770 old->c1 = old->tsc - old->mperf - core_delta->c3 in delta_thread()
775 if (old->mperf == 0) { in delta_thread()
777 old->mperf = 1; /* divide by 0 protection */ in delta_thread()
817 t->mperf = 0; in clear_counters()
861 average.threads.mperf += t->mperf; in sum_counters()
923 average.threads.mperf /= topo.num_cpus; in compute_average()
985 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()