/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() 472 u64 acnt, mcnt, aperf, mperf; in arch_scale_freq_tick() local 478 rdmsrl(MSR_IA32_MPERF, mperf); in arch_scale_freq_tick() 480 mcnt = mperf - s->mperf; in arch_scale_freq_tick() 483 s->mperf = mperf; in arch_scale_freq_tick()
|
/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()
|
/linux/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 155 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/include/trace/events/ |
H A D | power.h | 93 u64 mperf, 104 mperf, 116 __field(u64, mperf) 128 __entry->mperf = mperf; 135 TP_printk("core_busy=%lu scaled=%lu from=%lu to=%lu mperf=%llu aperf=%llu tsc=%llu freq=%lu io_boost=%lu", 140 (unsigned long long)__entry->mperf,
|
/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 503 u64 aperf, mperf, tsc; in amd_pstate_sample() local 508 rdmsrl(MSR_IA32_MPERF, mperf); in amd_pstate_sample() 511 if (cpudata->prev.mperf == mperf || cpudata->prev.tsc == tsc) { in amd_pstate_sample() 519 cpudata->cur.mperf = mperf; in amd_pstate_sample() 522 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample() 526 cpudata->prev.mperf = mperf; in amd_pstate_sample() 529 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample() 557 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
|
/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_…
|
/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | idle_monitors.def | 6 DEF(mperf)
|
/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);
|
/linux/Documentation/admin-guide/pm/ |
H A D | amd-pstate.rst | 560 …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…
|