/linux-6.1.9/drivers/cpufreq/ |
D | amd-pstate-trace.h | 32 u64 aperf, 44 aperf, 57 __field(unsigned long long, aperf) 70 __entry->aperf = aperf; 83 (unsigned long long)__entry->aperf,
|
D | amd-pstate.c | 183 u64 aperf, mperf, tsc; in amd_pstate_sample() local 187 rdmsrl(MSR_IA32_APERF, aperf); in amd_pstate_sample() 198 cpudata->cur.aperf = aperf; in amd_pstate_sample() 201 cpudata->cur.aperf -= cpudata->prev.aperf; in amd_pstate_sample() 205 cpudata->prev.aperf = aperf; in amd_pstate_sample() 209 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample() 232 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
|
D | intel_pstate.c | 112 u64 aperf; member 2142 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 2147 u64 aperf, mperf; in intel_pstate_sample() local 2152 rdmsrl(MSR_IA32_APERF, aperf); in intel_pstate_sample() 2163 cpu->sample.aperf = aperf; in intel_pstate_sample() 2166 cpu->sample.aperf -= cpu->prev_aperf; in intel_pstate_sample() 2170 cpu->prev_aperf = aperf; in intel_pstate_sample() 2269 sample->aperf, in intel_pstate_adjust_pstate() 2802 sample->aperf, in intel_cpufreq_trace()
|
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 31 u64 aperf; member 41 u64 aperf, mperf; in init_counter_refs() local 43 rdmsrl(MSR_IA32_APERF, aperf); in init_counter_refs() 46 this_cpu_write(cpu_samples.aperf, aperf); in init_counter_refs() 376 u64 acnt, mcnt, aperf, mperf; in arch_scale_freq_tick() local 381 rdmsrl(MSR_IA32_APERF, aperf); in arch_scale_freq_tick() 383 acnt = aperf - s->aperf; in arch_scale_freq_tick() 386 s->aperf = aperf; in arch_scale_freq_tick()
|
/linux-6.1.9/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-6.1.9/tools/power/cpupower/ |
D | .gitignore | 8 cpufreq-aperf 20 utils/cpufreq-aperf.o
|
/linux-6.1.9/include/trace/events/ |
D | power.h | 94 u64 aperf, 105 aperf, 117 __field(u64, aperf) 129 __entry->aperf = aperf; 141 (unsigned long long)__entry->aperf,
|
/linux-6.1.9/tools/power/x86/amd_pstate_tracer/ |
D | amd_pstate_trace.py | 156 …me_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, common_comm,… argument 166 …), int(min_perf), int(des_perf), int(max_perf), freq_ghz, int(mperf), int(aperf), int(tsc), load, … 215 aperf = search_obj.group(20) 235 …me_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, common_comm,…
|
/linux-6.1.9/include/linux/ |
D | amd-pstate.h | 25 u64 aperf; member
|
/linux-6.1.9/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… 449 aperf = search_obj.group(20) 480 …u_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io…
|
/linux-6.1.9/arch/x86/events/ |
D | msr.c | 122 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" ); 134 PMU_EVENT_GROUP(events, aperf);
|
/linux-6.1.9/tools/power/x86/turbostat/ |
D | turbostat.c | 347 unsigned long long aperf; member 1026 outp += sprintf(outp, "aperf: %016llX\n", t->aperf); in dump_counters() 1187 …outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 / units * t->aperf / interval_float); in format_counters() 1195 sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters() 1198 tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 1205 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 1.0 * t->instr_count / t->aperf); in format_counters() 1571 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1572 old->aperf = new->aperf - old->aperf; in delta_thread() 1657 t->aperf = 0; in clear_counters() 1736 average.threads.aperf += t->aperf; in sum_counters() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | stat-shadow.c | 789 double smi_num, aperf, cycles, cost = 0.0; in print_smi_cost() local 793 aperf = runtime_stat_avg(st, STAT_APERF, map_idx, rsd); in print_smi_cost() 796 if ((cycles == 0) || (aperf == 0)) in print_smi_cost() 800 cost = (aperf - cycles) / aperf * 100.00; in print_smi_cost()
|
D | stat.c | 112 ID(APERF, msr/aperf/),
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf-stat.txt | 468 Measure SMI cost if msr/aperf/ and msr/smi/ events are supported. 472 The aperf counter will not be effected by the setting. 473 The cost of SMI can be measured by (aperf - unhalted core cycles). 477 The output is SMI cycles%, equals to (aperf - unhalted core cycles) / aperf
|
/linux-6.1.9/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…
|