Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/
H A Daperfmperf.c32 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 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()
/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py155 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 Dpower.h93 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 Damd-pstate.c503 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 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(…
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 Didle_monitors.def6 DEF(mperf)
/linux/arch/x86/events/
H A Dmsr.c125 PMU_EVENT_ATTR_STRING(mperf, attr_mperf, "event=0x02" );
137 PMU_EVENT_GROUP(events, mperf);
/linux/Documentation/admin-guide/pm/
H A Damd-pstate.rst560 …common_cpu common_secs common_usecs min_perf des_perf max_perf freq mperf apef tsc …
H A Dintel_pstate.rst719 …] ..s. 1177.680733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230…