Home
last modified time | relevance | path

Searched refs:aperf (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/arch/x86/kernel/cpu/
H A Daperfmperf.c31 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()
472 u64 acnt, mcnt, aperf, mperf; in arch_scale_freq_tick() local
477 rdmsrl(MSR_IA32_APERF, aperf); in arch_scale_freq_tick()
479 acnt = aperf - s->aperf; in arch_scale_freq_tick()
482 s->aperf = aperf; in arch_scale_freq_tick()
/linux-6.15/drivers/cpufreq/
H A Damd-pstate-trace.h32 u64 aperf,
43 aperf,
55 __field(unsigned long long, aperf)
67 __entry->aperf = aperf;
79 (unsigned long long)__entry->aperf,
H A Damd-pstate.c517 u64 aperf, mperf, tsc; in amd_pstate_sample() local
521 rdmsrl(MSR_IA32_APERF, aperf); in amd_pstate_sample()
532 cpudata->cur.aperf = aperf; in amd_pstate_sample()
535 cpudata->cur.aperf -= cpudata->prev.aperf; in amd_pstate_sample()
539 cpudata->prev.aperf = aperf; in amd_pstate_sample()
543 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample()
572 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
H A Damd-pstate.h53 u64 aperf; member
H A Dintel_pstate.c115 u64 aperf; member
2421 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf()
2426 u64 aperf, mperf; in intel_pstate_sample() local
2431 rdmsrl(MSR_IA32_APERF, aperf); in intel_pstate_sample()
2442 cpu->sample.aperf = aperf; in intel_pstate_sample()
2445 cpu->sample.aperf -= cpu->prev_aperf; in intel_pstate_sample()
2449 cpu->prev_aperf = aperf; in intel_pstate_sample()
2546 sample->aperf, in intel_pstate_adjust_pstate()
3081 sample->aperf, in intel_cpufreq_trace()
/linux-6.15/tools/testing/selftests/intel_pstate/
H A Daperf.c27 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()
H A D.gitignore2 aperf
H A DMakefile9 TEST_GEN_FILES := msr aperf
H A Drun.sh60 ./aperf $cpu &
/linux-6.15/tools/power/cpupower/
H A D.gitignore8 cpufreq-aperf
20 utils/cpufreq-aperf.o
/linux-6.15/include/trace/events/
H A Dpower.h131 u64 aperf,
142 aperf,
154 __field(u64, aperf)
166 __entry->aperf = aperf;
178 (unsigned long long)__entry->aperf,
/linux-6.15/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py155 …me_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, common_comm,… argument
165 …), int(min_perf), int(des_perf), int(max_perf), freq_ghz, int(mperf), int(aperf), int(tsc), load, …
214 aperf = search_obj.group(20)
234 …me_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, common_comm,…
/linux-6.15/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 …_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.15/arch/x86/events/
H A Dmsr.c124 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" );
136 PMU_EVENT_GROUP(events, aperf);
/linux-6.15/tools/perf/Documentation/
H A Dperf-stat.txt525 Measure SMI cost if msr/aperf/ and msr/smi/ events are supported.
529 The aperf counter will not be effected by the setting.
530 The cost of SMI can be measured by (aperf - unhalted core cycles).
534 The output is SMI cycles%, equals to (aperf - unhalted core cycles) / aperf
/linux-6.15/tools/power/x86/turbostat/
H A Dturbostat.c1740 unsigned long long aperf; member
2747 outp += sprintf(outp, "aperf: %016llX\n", t->aperf); in dump_counters()
2960 tsc / units * t->aperf / t->mperf / interval_float); in format_counters()
2967 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 1.0 * t->instr_count / t->aperf); in format_counters()
3575 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread()
3576 old->aperf = new->aperf - old->aperf; in delta_thread()
3689 t->aperf = 0; in clear_counters()
3794 average.threads.aperf += t->aperf; in sum_counters()
3936 average.threads.aperf /= topo.allowed_cpus; in compute_average()
4231 int aperf; /* Also the group descriptor */ member
[all …]
/linux-6.15/Documentation/admin-guide/pm/
H A Dintel_pstate.rst722 …80733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230607 tsc=298386…