Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/cpufreq/
A Damd-pstate-trace.h31 u64 mperf,
43 mperf,
56 __field(unsigned long long, mperf)
69 __entry->mperf = mperf;
82 (unsigned long long)__entry->mperf,
A Damd-pstate.c356 u64 aperf, mperf, tsc; in amd_pstate_sample() local
361 rdmsrl(MSR_IA32_MPERF, mperf); in amd_pstate_sample()
364 if (cpudata->prev.mperf == mperf || cpudata->prev.tsc == tsc) { in amd_pstate_sample()
372 cpudata->cur.mperf = mperf; in amd_pstate_sample()
375 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample()
379 cpudata->prev.mperf = mperf; in amd_pstate_sample()
382 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample()
405 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
A Dintel_pstate.c113 u64 mperf; member
2129 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf()
2134 u64 aperf, mperf; in intel_pstate_sample() local
2140 rdmsrl(MSR_IA32_MPERF, mperf); in intel_pstate_sample()
2142 if (cpu->prev_mperf == mperf || cpu->prev_tsc == tsc) { in intel_pstate_sample()
2151 cpu->sample.mperf = mperf; in intel_pstate_sample()
2154 cpu->sample.mperf -= cpu->prev_mperf; in intel_pstate_sample()
2158 cpu->prev_mperf = mperf; in intel_pstate_sample()
2191 busy_frac = div_fp(sample->mperf << cpu->aperf_mperf_shift, in get_target_pstate()
2255 sample->mperf, in intel_pstate_adjust_pstate()
[all …]
/linux-6.3-rc2/arch/x86/kernel/cpu/
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()
385 u64 acnt, mcnt, aperf, mperf; in arch_scale_freq_tick() local
391 rdmsrl(MSR_IA32_MPERF, mperf); in arch_scale_freq_tick()
393 mcnt = mperf - s->mperf; in arch_scale_freq_tick()
396 s->mperf = mperf; in arch_scale_freq_tick()
/linux-6.3-rc2/tools/testing/selftests/intel_pstate/
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-6.3-rc2/tools/power/x86/amd_pstate_tracer/
A Damd_pstate_trace.py156 def store_csv(cpu_int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, … argument
166 …ime_post_dec), int(min_perf), int(des_perf), int(max_perf), freq_ghz, int(mperf), int(aperf), int(…
214 mperf = search_obj.group(18)
233 load = Decimal(int(mperf)*100)/ Decimal(tsc)
235 …int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, commo…
/linux-6.3-rc2/include/trace/events/
A Dpower.h93 u64 mperf,
104 mperf,
116 __field(u64, mperf)
128 __entry->mperf = mperf;
140 (unsigned long long)__entry->mperf,
/linux-6.3-rc2/tools/power/x86/intel_pstate_tracer/
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-6.3-rc2/tools/power/cpupower/utils/idle_monitor/
A Didle_monitors.def6 DEF(mperf)
/linux-6.3-rc2/include/linux/
A Damd-pstate.h31 u64 mperf; member
/linux-6.3-rc2/arch/x86/events/
A Dmsr.c123 PMU_EVENT_ATTR_STRING(mperf, attr_mperf, "event=0x02" );
135 PMU_EVENT_GROUP(events, mperf);
/linux-6.3-rc2/tools/power/x86/turbostat/
A Dturbostat.c348 unsigned long long mperf; member
1027 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters()
1571 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread()
1573 old->mperf = new->mperf - old->mperf; in delta_thread()
1599 if (old->mperf == 0) { in delta_thread()
1602 old->mperf = 1; /* divide by 0 protection */ in delta_thread()
1658 t->mperf = 0; in clear_counters()
1737 average.threads.mperf += t->mperf; in sum_counters()
1839 average.threads.mperf /= topo.num_cpus; in compute_average()
2125 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
[all …]
/linux-6.3-rc2/Documentation/admin-guide/pm/
A Damd-pstate.rst461 …common_cpu common_secs common_usecs min_perf des_perf max_perf freq mperf apef tsc …
A Dintel_pstate.rst719 …] ..s. 1177.680733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230…

Completed in 37 milliseconds