/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 | 399 u64 aperf, mperf, tsc; in amd_pstate_sample() local 404 rdmsrl(MSR_IA32_MPERF, mperf); in amd_pstate_sample() 407 if (cpudata->prev.mperf == mperf || cpudata->prev.tsc == tsc) { in amd_pstate_sample() 415 cpudata->cur.mperf = mperf; in amd_pstate_sample() 418 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample() 422 cpudata->prev.mperf = mperf; in amd_pstate_sample() 425 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample() 458 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
|
H A D | intel_pstate.c | 113 u64 mperf; member 2198 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 2203 u64 aperf, mperf; in intel_pstate_sample() local 2209 rdmsrl(MSR_IA32_MPERF, mperf); in intel_pstate_sample() 2211 if (cpu->prev_mperf == mperf || cpu->prev_tsc == tsc) { in intel_pstate_sample() 2220 cpu->sample.mperf = mperf; in intel_pstate_sample() 2223 cpu->sample.mperf -= cpu->prev_mperf; in intel_pstate_sample() 2227 cpu->prev_mperf = mperf; in intel_pstate_sample() 2260 busy_frac = div_fp(sample->mperf << cpu->aperf_mperf_shift, in get_target_pstate() 2324 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/cpupower/utils/idle_monitor/ |
H A D | idle_monitors.def | 6 DEF(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/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 1029 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters() 1573 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1575 old->mperf = new->mperf - old->mperf; in delta_thread() 1601 if (old->mperf == 0) { in delta_thread() 1604 old->mperf = 1; /* divide by 0 protection */ in delta_thread() 1660 t->mperf = 0; in clear_counters() 1739 average.threads.mperf += t->mperf; in sum_counters() 1842 average.threads.mperf /= topo.num_cpus; in compute_average() 2128 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters() [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…
|