Lines Matching refs:mperf
348 unsigned long long mperf;
1027 outp += sprintf(outp, "mperf: %016llX\n", t->mperf);
1190 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf / tsc);
1195 sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf);
1198 tsc / units * t->aperf / t->mperf / interval_float);
1571 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) {
1573 old->mperf = new->mperf - old->mperf;
1587 * it is possible for mperf's non-halted cycles + idle states
1590 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak))
1594 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3
1599 if (old->mperf == 0) {
1602 old->mperf = 1; /* divide by 0 protection */
1658 t->mperf = 0;
1737 average.threads.mperf += t->mperf;
1839 average.threads.mperf /= topo.num_cpus;
2125 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf))
2147 t->mperf = t->mperf * aperf_mperf_multiplier;