Home
last modified time | relevance | path

Searched refs:mperf (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Daperfmperf.c24 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()
/kernel/linux/linux-5.10/tools/testing/selftests/intel_pstate/
Daperf.c28 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()
/kernel/linux/linux-5.10/include/trace/events/
Dpower.h71 u64 mperf,
82 mperf,
94 __field(u64, mperf)
106 __entry->mperf = mperf;
118 (unsigned long long)__entry->mperf,
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py326 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(…
452 mperf = search_obj.group(18)
477 load = Decimal(int(mperf)*100)/ Decimal(tsc)
484 …_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_…
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/
Didle_monitors.def6 DEF(mperf)
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsmpboot.c2036 u64 aperf, mperf; in init_counter_refs() local
2039 rdmsrl(MSR_IA32_MPERF, mperf); in init_counter_refs()
2042 this_cpu_write(arch_prev_mperf, mperf); in init_counter_refs()
2083 u64 aperf, mperf; in arch_scale_freq_tick() local
2090 rdmsrl(MSR_IA32_MPERF, mperf); in arch_scale_freq_tick()
2093 mcnt = mperf - this_cpu_read(arch_prev_mperf); in arch_scale_freq_tick()
2096 this_cpu_write(arch_prev_mperf, mperf); in arch_scale_freq_tick()
/kernel/linux/linux-5.10/arch/x86/events/
Dmsr.c113 PMU_EVENT_ATTR_STRING(mperf, attr_mperf, "event=0x02" );
125 PMU_EVENT_GROUP(events, mperf);
/kernel/linux/linux-5.10/drivers/cpufreq/
Dintel_pstate.c121 u64 mperf; member
1855 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf()
1860 u64 aperf, mperf; in intel_pstate_sample() local
1866 rdmsrl(MSR_IA32_MPERF, mperf); in intel_pstate_sample()
1868 if (cpu->prev_mperf == mperf || cpu->prev_tsc == tsc) { in intel_pstate_sample()
1877 cpu->sample.mperf = mperf; in intel_pstate_sample()
1880 cpu->sample.mperf -= cpu->prev_mperf; in intel_pstate_sample()
1884 cpu->prev_mperf = mperf; in intel_pstate_sample()
1917 busy_frac = div_fp(sample->mperf << cpu->aperf_mperf_shift, in get_target_pstate()
1981 sample->mperf, in intel_pstate_adjust_pstate()
[all …]
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
Dturbostat.c174 unsigned long long mperf; member
930 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters()
1099 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf/tsc); in format_counters()
1103 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters()
1106 tsc / units * t->aperf / t->mperf / interval_float); in format_counters()
1454 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread()
1456 old->mperf = new->mperf - old->mperf; in delta_thread()
1474 if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak)) in delta_thread()
1478 old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3 in delta_thread()
1483 if (old->mperf == 0) { in delta_thread()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dintel_pstate.rst712 …] ..s. 1177.680733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230…