Lines Matching refs:mperf
185 unsigned long long mperf; member
992 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters()
1154 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf / tsc); in format_counters()
1159 sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters()
1162 tsc / units * t->aperf / t->mperf / interval_float); in format_counters()
1525 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread()
1527 old->mperf = new->mperf - old->mperf; in delta_thread()
1544 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak)) in delta_thread()
1548 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3 in delta_thread()
1553 if (old->mperf == 0) { in delta_thread()
1556 old->mperf = 1; /* divide by 0 protection */ in delta_thread()
1612 t->mperf = 0; in clear_counters()
1689 average.threads.mperf += t->mperf; in sum_counters()
1789 average.threads.mperf /= topo.num_cpus; in compute_average()
2045 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
2067 t->mperf = t->mperf * aperf_mperf_multiplier; in get_counters()