/Linux-v5.15/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 25 u64 aperf; member 43 u64 aperf, aperf_delta; in aperfmperf_snapshot_khz() local 49 rdmsrl(MSR_IA32_APERF, aperf); in aperfmperf_snapshot_khz() 53 aperf_delta = aperf - s->aperf; in aperfmperf_snapshot_khz() 64 s->aperf = aperf; in aperfmperf_snapshot_khz()
|
/Linux-v5.15/tools/testing/selftests/intel_pstate/ |
D | aperf.c | 27 long long aperf, old_aperf, new_aperf; in main() local 83 aperf = new_aperf-old_aperf; in main() 91 printf("freq: %7.0f\n", tsc / (1.0*aperf / (1.0 * mperf)) / total); in main()
|
D | .gitignore | 2 aperf
|
D | Makefile | 9 TEST_GEN_FILES := msr aperf
|
D | run.sh | 55 ./aperf $cpu &
|
/Linux-v5.15/tools/power/cpupower/ |
D | .gitignore | 8 cpufreq-aperf 20 utils/cpufreq-aperf.o
|
/Linux-v5.15/include/trace/events/ |
D | power.h | 72 u64 aperf, 83 aperf, 95 __field(u64, aperf) 107 __entry->aperf = aperf; 119 (unsigned long long)__entry->aperf,
|
/Linux-v5.15/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 326 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument 336 …_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(tsc), freq_g… 453 aperf = search_obj.group(20) 484 …u_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io…
|
/Linux-v5.15/arch/x86/kernel/ |
D | smpboot.c | 2082 u64 aperf, mperf; in init_counter_refs() local 2084 rdmsrl(MSR_IA32_APERF, aperf); in init_counter_refs() 2087 this_cpu_write(arch_prev_aperf, aperf); in init_counter_refs() 2170 u64 aperf, mperf; in arch_scale_freq_tick() local 2176 rdmsrl(MSR_IA32_APERF, aperf); in arch_scale_freq_tick() 2179 acnt = aperf - this_cpu_read(arch_prev_aperf); in arch_scale_freq_tick() 2182 this_cpu_write(arch_prev_aperf, aperf); in arch_scale_freq_tick()
|
/Linux-v5.15/arch/x86/events/ |
D | msr.c | 115 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" ); 127 PMU_EVENT_GROUP(events, aperf);
|
/Linux-v5.15/drivers/cpufreq/ |
D | intel_pstate.c | 110 u64 aperf; member 1998 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 2003 u64 aperf, mperf; in intel_pstate_sample() local 2008 rdmsrl(MSR_IA32_APERF, aperf); in intel_pstate_sample() 2019 cpu->sample.aperf = aperf; in intel_pstate_sample() 2022 cpu->sample.aperf -= cpu->prev_aperf; in intel_pstate_sample() 2026 cpu->prev_aperf = aperf; in intel_pstate_sample() 2125 sample->aperf, in intel_pstate_adjust_pstate() 2659 sample->aperf, in intel_cpufreq_trace()
|
/Linux-v5.15/tools/power/x86/turbostat/ |
D | turbostat.c | 184 unsigned long long aperf; member 991 outp += sprintf(outp, "aperf: %016llX\n", t->aperf); in dump_counters() 1151 …outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 / units * t->aperf / interval_float); in format_counters() 1159 sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters() 1162 tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 1169 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 1.0 * t->instr_count / t->aperf); in format_counters() 1525 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1526 old->aperf = new->aperf - old->aperf; in delta_thread() 1611 t->aperf = 0; in clear_counters() 1688 average.threads.aperf += t->aperf; in sum_counters() [all …]
|
/Linux-v5.15/tools/perf/util/ |
D | stat-shadow.c | 792 double smi_num, aperf, cycles, cost = 0.0; in print_smi_cost() local 796 aperf = runtime_stat_avg(st, STAT_APERF, cpu, rsd); in print_smi_cost() 799 if ((cycles == 0) || (aperf == 0)) in print_smi_cost() 803 cost = (aperf - cycles) / aperf * 100.00; in print_smi_cost()
|
D | stat.c | 107 ID(APERF, msr/aperf/),
|
/Linux-v5.15/tools/perf/Documentation/ |
D | perf-stat.txt | 456 Measure SMI cost if msr/aperf/ and msr/smi/ events are supported. 460 The aperf counter will not be effected by the setting. 461 The cost of SMI can be measured by (aperf - unhalted core cycles). 465 The output is SMI cycles%, equals to (aperf - unhalted core cycles) / aperf
|
/Linux-v5.15/Documentation/admin-guide/pm/ |
D | intel_pstate.rst | 719 …80733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230607 tsc=298386…
|