Home
last modified time | relevance | path

Searched refs:mperf (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/intel_pstate/
H A Daperf.c28 long long mperf, old_mperf, new_mperf; in main() local
84 mperf = new_mperf-old_mperf; in main()
91 printf("freq: %7.0f\n", tsc / (1.0*aperf / (1.0 * mperf)) / total); in main()
/linux/include/trace/events/
H A Dpower.h110 u64 mperf,
121 mperf,
133 __field(u64, mperf)
145 __entry->mperf = mperf;
157 (unsigned long long)__entry->mperf,
/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py155 def store_csv(cpu_int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, … argument
165 …ime_post_dec), int(min_perf), int(des_perf), int(max_perf), freq_ghz, int(mperf), int(aperf), int(…
213 mperf = search_obj.group(18)
232 load = Decimal(int(mperf)*100)/ Decimal(tsc)
234 …int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, commo…
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py326 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument
336 …nt(time_post_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(…
448 mperf = search_obj.group(18)
473 load = Decimal(int(mperf)*100)/ Decimal(tsc)
480 …_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_…
/linux/drivers/cpufreq/
H A Damd-pstate.c535 u64 aperf, mperf, tsc; in amd_pstate_sample() local
540 rdmsrq(MSR_IA32_MPERF, mperf); in amd_pstate_sample()
543 if (cpudata->prev.mperf == mperf || cpudata->prev.tsc == tsc) { in amd_pstate_sample()
551 cpudata->cur.mperf = mperf; in amd_pstate_sample()
554 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample()
558 cpudata->prev.mperf = mperf; in amd_pstate_sample()
561 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample()
590 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
H A Damd-pstate.h56 u64 mperf; member
H A Dintel_pstate.c116 u64 mperf; member
2540 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf()
2545 u64 aperf, mperf; in intel_pstate_sample() local
2551 rdmsrq(MSR_IA32_MPERF, mperf); in intel_pstate_sample()
2553 if (cpu->prev_mperf == mperf || cpu->prev_tsc == tsc) { in intel_pstate_sample()
2562 cpu->sample.mperf = mperf; in intel_pstate_sample()
2565 cpu->sample.mperf -= cpu->prev_mperf; in intel_pstate_sample()
2569 cpu->prev_mperf = mperf; in intel_pstate_sample()
2602 busy_frac = div_fp(sample->mperf << cpu->aperf_mperf_shift, in get_target_pstate()
2664 sample->mperf, in intel_pstate_adjust_pstate()
[all …]
/linux/tools/power/cpupower/utils/idle_monitor/
H A Didle_monitors.def6 DEF(mperf)
/linux/tools/power/x86/turbostat/
H A Dturbostat.c2000 unsigned long long mperf; member
3037 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters()
3249 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf / tsc); in format_counters()
3254 sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters()
3257 tsc / units * t->aperf / t->mperf / interval_float); in format_counters()
3872 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread()
3874 old->mperf = new->mperf - old->mperf; in delta_thread()
3891 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak)) in delta_thread()
3895 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3 in delta_thread()
3900 if (old->mperf == 0) { in delta_thread()
[all …]
/linux/Documentation/admin-guide/pm/
H A Damd-pstate.rst560 …common_cpu common_secs common_usecs min_perf des_perf max_perf freq mperf apef tsc …
H A Dintel_pstate.rst822 …] ..s. 1177.680733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230…