/openbmc/linux/drivers/cpufreq/ |
H A D | amd-pstate-trace.h | 31 u64 mperf, 43 mperf, 56 __field(unsigned long long, mperf) 69 __entry->mperf = mperf; 82 (unsigned long long)__entry->mperf,
|
H A D | amd-pstate.c | 423 u64 aperf, mperf, tsc; in amd_pstate_sample() local 428 rdmsrl(MSR_IA32_MPERF, mperf); in amd_pstate_sample() 431 if (cpudata->prev.mperf == mperf || cpudata->prev.tsc == tsc) { in amd_pstate_sample() 439 cpudata->cur.mperf = mperf; in amd_pstate_sample() 442 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample() 446 cpudata->prev.mperf = mperf; in amd_pstate_sample() 449 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample() 482 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
|
H A D | intel_pstate.c | 113 u64 mperf; member 2197 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 2202 u64 aperf, mperf; in intel_pstate_sample() local 2208 rdmsrl(MSR_IA32_MPERF, mperf); in intel_pstate_sample() 2210 if (cpu->prev_mperf == mperf || cpu->prev_tsc == tsc) { in intel_pstate_sample() 2219 cpu->sample.mperf = mperf; in intel_pstate_sample() 2222 cpu->sample.mperf -= cpu->prev_mperf; in intel_pstate_sample() 2226 cpu->prev_mperf = mperf; in intel_pstate_sample() 2259 busy_frac = div_fp(sample->mperf << cpu->aperf_mperf_shift, in get_target_pstate() 2323 sample->mperf, in intel_pstate_adjust_pstate() [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | aperfmperf.c | 32 u64 mperf; member 41 u64 aperf, mperf; in init_counter_refs() local 44 rdmsrl(MSR_IA32_MPERF, mperf); in init_counter_refs() 47 this_cpu_write(cpu_samples.mperf, mperf); in init_counter_refs() 385 u64 acnt, mcnt, aperf, mperf; in arch_scale_freq_tick() local 391 rdmsrl(MSR_IA32_MPERF, mperf); in arch_scale_freq_tick() 393 mcnt = mperf - s->mperf; in arch_scale_freq_tick() 396 s->mperf = mperf; in arch_scale_freq_tick()
|
/openbmc/linux/tools/testing/selftests/intel_pstate/ |
H A D | aperf.c | 28 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()
|
/openbmc/linux/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 156 def store_csv(cpu_int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, … argument 166 …ime_post_dec), int(min_perf), int(des_perf), int(max_perf), freq_ghz, int(mperf), int(aperf), int(… 214 mperf = search_obj.group(18) 233 load = Decimal(int(mperf)*100)/ Decimal(tsc) 235 …int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, commo…
|
/openbmc/linux/include/trace/events/ |
H A D | power.h | 93 u64 mperf, 104 mperf, 116 __field(u64, mperf) 128 __entry->mperf = mperf; 140 (unsigned long long)__entry->mperf,
|
/openbmc/linux/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 326 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_…
|
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | idle_monitors.def | 6 DEF(mperf)
|
/openbmc/linux/include/linux/ |
H A D | amd-pstate.h | 31 u64 mperf; member
|
/openbmc/linux/arch/x86/events/ |
H A D | msr.c | 125 PMU_EVENT_ATTR_STRING(mperf, attr_mperf, "event=0x02" ); 137 PMU_EVENT_GROUP(events, mperf);
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 350 unsigned long long mperf; member 1030 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters() 1193 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf / tsc); in format_counters() 1198 sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters() 1201 tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 1574 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1576 old->mperf = new->mperf - old->mperf; in delta_thread() 1593 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak)) in delta_thread() 1597 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3 in delta_thread() 1602 if (old->mperf == 0) { in delta_thread() [all …]
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | amd-pstate.rst | 478 …common_cpu common_secs common_usecs min_perf des_perf max_perf freq mperf apef tsc …
|
H A D | intel_pstate.rst | 719 …] ..s. 1177.680733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230…
|