Searched refs:mperf (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 24 u64 mperf; member 42 u64 mperf, mperf_delta; in aperfmperf_snapshot_khz() local 48 rdmsrl(MSR_IA32_MPERF, mperf); in aperfmperf_snapshot_khz() 52 mperf_delta = mperf - s->mperf; in aperfmperf_snapshot_khz() 63 s->mperf = mperf; in aperfmperf_snapshot_khz()
|
/Linux-v5.4/tools/testing/selftests/intel_pstate/ |
D | aperf.c | 24 long long mperf, old_mperf, new_mperf; in main() local 74 mperf = new_mperf-old_mperf; in main() 81 printf("freq: %7.0f\n", tsc / (1.0*aperf / (1.0 * mperf)) / total); in main()
|
/Linux-v5.4/include/trace/events/ |
D | power.h | 71 u64 mperf, 82 mperf, 94 __field(u64, mperf) 106 __entry->mperf = mperf; 118 (unsigned long long)__entry->mperf,
|
/Linux-v5.4/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 329 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument 339 …nt(time_post_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(… 455 mperf = search_obj.group(18) 480 load = Decimal(int(mperf)*100)/ Decimal(tsc) 487 …_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_…
|
/Linux-v5.4/tools/power/cpupower/utils/idle_monitor/ |
D | idle_monitors.def | 6 DEF(mperf)
|
/Linux-v5.4/arch/x86/events/ |
D | msr.c | 110 PMU_EVENT_ATTR_STRING(mperf, attr_mperf, "event=0x02" ); 122 PMU_EVENT_GROUP(events, mperf);
|
/Linux-v5.4/drivers/cpufreq/ |
D | intel_pstate.c | 120 u64 mperf; member 1701 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 1706 u64 aperf, mperf; in intel_pstate_sample() local 1712 rdmsrl(MSR_IA32_MPERF, mperf); in intel_pstate_sample() 1714 if (cpu->prev_mperf == mperf || cpu->prev_tsc == tsc) { in intel_pstate_sample() 1723 cpu->sample.mperf = mperf; in intel_pstate_sample() 1726 cpu->sample.mperf -= cpu->prev_mperf; in intel_pstate_sample() 1730 cpu->prev_mperf = mperf; in intel_pstate_sample() 1763 busy_frac = div_fp(sample->mperf << cpu->aperf_mperf_shift, in get_target_pstate() 1827 sample->mperf, in intel_pstate_adjust_pstate() [all …]
|
/Linux-v5.4/tools/power/x86/turbostat/ |
D | turbostat.c | 173 unsigned long long mperf; member 808 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters() 977 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf/tsc); in format_counters() 981 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters() 984 tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 1338 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1340 old->mperf = new->mperf - old->mperf; in delta_thread() 1358 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak)) in delta_thread() 1362 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3 in delta_thread() 1367 if (old->mperf == 0) { in delta_thread() [all …]
|
/Linux-v5.4/Documentation/admin-guide/pm/ |
D | intel_pstate.rst | 692 …] ..s. 1177.680733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230…
|