Searched refs:mperf (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 23 u64 mperf; member 41 u64 mperf, mperf_delta; in aperfmperf_snapshot_khz() local 47 rdmsrl(MSR_IA32_MPERF, mperf); in aperfmperf_snapshot_khz() 51 mperf_delta = mperf - s->mperf; in aperfmperf_snapshot_khz() 62 s->mperf = mperf; in aperfmperf_snapshot_khz()
|
/Linux-v4.19/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-v4.19/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-v4.19/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 328 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument 338 …nt(time_post_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(… 454 mperf = search_obj.group(18) 479 load = Decimal(int(mperf)*100)/ Decimal(tsc) 486 …_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_…
|
/Linux-v4.19/tools/power/cpupower/utils/idle_monitor/ |
D | idle_monitors.def | 6 DEF(mperf)
|
/Linux-v4.19/drivers/cpufreq/ |
D | intel_pstate.c | 121 u64 mperf; member 1560 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 1565 u64 aperf, mperf; in intel_pstate_sample() local 1571 rdmsrl(MSR_IA32_MPERF, mperf); in intel_pstate_sample() 1573 if (cpu->prev_mperf == mperf || cpu->prev_tsc == tsc) { in intel_pstate_sample() 1582 cpu->sample.mperf = mperf; in intel_pstate_sample() 1585 cpu->sample.mperf -= cpu->prev_mperf; in intel_pstate_sample() 1589 cpu->prev_mperf = mperf; in intel_pstate_sample() 1622 busy_frac = div_fp(sample->mperf << cpu->aperf_mperf_shift, in get_target_pstate() 1691 sample->mperf, in intel_pstate_adjust_pstate() [all …]
|
/Linux-v4.19/tools/power/x86/turbostat/ |
D | turbostat.c | 169 unsigned long long mperf; member 789 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters() 950 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf/tsc); in format_counters() 954 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters() 957 tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 1294 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1296 old->mperf = new->mperf - old->mperf; in delta_thread() 1314 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak)) in delta_thread() 1318 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3 in delta_thread() 1323 if (old->mperf == 0) { in delta_thread() [all …]
|
/Linux-v4.19/arch/x86/events/ |
D | msr.c | 108 PMU_EVENT_ATTR_STRING(mperf, evattr_mperf, "event=0x02" );
|
/Linux-v4.19/Documentation/admin-guide/pm/ |
D | intel_pstate.rst | 675 …] ..s. 1177.680733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230…
|