Lines Matching defs:mperf
588 bool enable_tsc_tweak; /* Use CPU Base freq instead of TSC freq for aperf/mperf counter */
589 bool need_perf_multiplier; /* mperf/aperf multiplier */
1780 .perf_name = "mperf",
2000 unsigned long long mperf;
3037 outp += sprintf(outp, "mperf: %016llX\n", t->mperf);
3249 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf / tsc);
3254 sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf);
3257 tsc / units * t->aperf / t->mperf / interval_float);
3872 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) {
3874 old->mperf = new->mperf - old->mperf;
3888 * it is possible for mperf's non-halted cycles + idle states
3891 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak))
3895 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3
3900 if (old->mperf == 0) {
3903 old->mperf = 1; /* divide by 0 protection */
3987 t->mperf = 0;
4092 average.threads.mperf += t->mperf;
4234 average.threads.mperf /= topo.allowed_cpus;
4528 int mperf;
5007 t->mperf = mci->data[MSR_RCI_INDEX_MPERF];