/Linux-v5.4/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 23 u64 aperf; member 41 u64 aperf, aperf_delta; in aperfmperf_snapshot_khz() local 47 rdmsrl(MSR_IA32_APERF, aperf); in aperfmperf_snapshot_khz() 51 aperf_delta = aperf - s->aperf; in aperfmperf_snapshot_khz() 62 s->aperf = aperf; in aperfmperf_snapshot_khz()
|
/Linux-v5.4/tools/testing/selftests/intel_pstate/ |
D | aperf.c | 23 long long aperf, old_aperf, new_aperf; in main() local 73 aperf = new_aperf-old_aperf; in main() 81 printf("freq: %7.0f\n", tsc / (1.0*aperf / (1.0 * mperf)) / total); in main()
|
D | .gitignore | 1 aperf
|
D | Makefile | 9 TEST_GEN_FILES := msr aperf
|
D | run.sh | 55 ./aperf $cpu &
|
/Linux-v5.4/tools/power/cpupower/ |
D | .gitignore | 7 cpufreq-aperf 19 utils/cpufreq-aperf.o
|
/Linux-v5.4/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.4/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 329 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument 339 …_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(tsc), freq_g… 456 aperf = search_obj.group(20) 487 …u_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io…
|
/Linux-v5.4/arch/x86/events/ |
D | msr.c | 109 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" ); 121 PMU_EVENT_GROUP(events, aperf);
|
/Linux-v5.4/drivers/cpufreq/ |
D | intel_pstate.c | 119 u64 aperf; member 1701 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 1706 u64 aperf, mperf; in intel_pstate_sample() local 1711 rdmsrl(MSR_IA32_APERF, aperf); in intel_pstate_sample() 1722 cpu->sample.aperf = aperf; in intel_pstate_sample() 1725 cpu->sample.aperf -= cpu->prev_aperf; in intel_pstate_sample() 1729 cpu->prev_aperf = aperf; in intel_pstate_sample() 1828 sample->aperf, in intel_pstate_adjust_pstate() 2318 sample->aperf, in intel_cpufreq_trace()
|
/Linux-v5.4/tools/perf/Documentation/ |
D | perf-stat.txt | 313 Measure SMI cost if msr/aperf/ and msr/smi/ events are supported. 317 The aperf counter will not be effected by the setting. 318 The cost of SMI can be measured by (aperf - unhalted core cycles). 322 The output is SMI cycles%, equals to (aperf - unhalted core cycles) / aperf
|
/Linux-v5.4/tools/perf/util/ |
D | stat-shadow.c | 702 double smi_num, aperf, cycles, cost = 0.0; in print_smi_cost() local 707 aperf = runtime_stat_avg(st, STAT_APERF, ctx, cpu); in print_smi_cost() 710 if ((cycles == 0) || (aperf == 0)) in print_smi_cost() 714 cost = (aperf - cycles) / aperf * 100.00; in print_smi_cost()
|
D | stat.c | 99 ID(APERF, msr/aperf/),
|
/Linux-v5.4/tools/power/x86/turbostat/ |
D | turbostat.c | 172 unsigned long long aperf; member 807 outp += sprintf(outp, "aperf: %016llX\n", t->aperf); in dump_counters() 974 1.0 / units * t->aperf / interval_float); in format_counters() 981 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters() 984 tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 1338 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1339 old->aperf = new->aperf - old->aperf; in delta_thread() 1423 t->aperf = 0; in clear_counters() 1497 average.threads.aperf += t->aperf; in sum_counters() 1594 average.threads.aperf /= topo.num_cpus; in compute_average() [all …]
|
/Linux-v5.4/Documentation/admin-guide/pm/ |
D | intel_pstate.rst | 692 …80733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230607 tsc=298386…
|