Lines Matching refs:mperf
174 unsigned long long mperf; member
930 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters()
1099 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf/tsc); in format_counters()
1103 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters()
1106 tsc / units * t->aperf / t->mperf / interval_float); in format_counters()
1454 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread()
1456 old->mperf = new->mperf - old->mperf; in delta_thread()
1474 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak)) in delta_thread()
1478 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3 in delta_thread()
1483 if (old->mperf == 0) { in delta_thread()
1486 old->mperf = 1; /* divide by 0 protection */ in delta_thread()
1540 t->mperf = 0; in clear_counters()
1615 average.threads.mperf += t->mperf; in sum_counters()
1713 average.threads.mperf /= topo.num_cpus; in compute_average()
1943 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
1966 t->mperf = t->mperf * aperf_mperf_multiplier; in get_counters()