/linux/arch/x86/kernel/cpu/ |
A 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/tools/testing/selftests/intel_pstate/ |
A 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()
|
A D | .gitignore | 2 aperf
|
A D | Makefile | 9 TEST_GEN_FILES := msr aperf
|
A D | run.sh | 55 ./aperf $cpu &
|
/linux/include/trace/events/ |
A D | power.h | 72 u64 aperf, 83 aperf, 95 __field(u64, aperf) 107 __entry->aperf = aperf; 119 (unsigned long long)__entry->aperf,
|
/linux/tools/power/cpupower/ |
A D | .gitignore | 8 cpufreq-aperf 20 utils/cpufreq-aperf.o
|
/linux/tools/power/x86/intel_pstate_tracer/ |
A 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/arch/x86/kernel/ |
A D | smpboot.c | 2144 u64 aperf, mperf; in init_counter_refs() local 2146 rdmsrl(MSR_IA32_APERF, aperf); in init_counter_refs() 2149 this_cpu_write(arch_prev_aperf, aperf); in init_counter_refs() 2232 u64 aperf, mperf; in arch_scale_freq_tick() local 2238 rdmsrl(MSR_IA32_APERF, aperf); in arch_scale_freq_tick() 2241 acnt = aperf - this_cpu_read(arch_prev_aperf); in arch_scale_freq_tick() 2244 this_cpu_write(arch_prev_aperf, aperf); in arch_scale_freq_tick()
|
/linux/arch/x86/events/ |
A D | msr.c | 115 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" ); 127 PMU_EVENT_GROUP(events, aperf);
|
/linux/drivers/cpufreq/ |
A D | intel_pstate.c | 111 u64 aperf; member 2126 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 2131 u64 aperf, mperf; in intel_pstate_sample() local 2136 rdmsrl(MSR_IA32_APERF, aperf); in intel_pstate_sample() 2147 cpu->sample.aperf = aperf; in intel_pstate_sample() 2150 cpu->sample.aperf -= cpu->prev_aperf; in intel_pstate_sample() 2154 cpu->prev_aperf = aperf; in intel_pstate_sample() 2253 sample->aperf, in intel_pstate_adjust_pstate() 2788 sample->aperf, in intel_cpufreq_trace()
|
/linux/tools/power/x86/turbostat/ |
A D | turbostat.c | 184 unsigned long long aperf; member 991 outp += sprintf(outp, "aperf: %016llX\n", t->aperf); in dump_counters() 1162 tsc / units * t->aperf / t->mperf / interval_float); 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() 1788 average.threads.aperf /= topo.num_cpus; in compute_average() 2033 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters() 2040 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters() [all …]
|
/linux/tools/perf/util/ |
A D | stat-shadow.c | 799 double smi_num, aperf, cycles, cost = 0.0; in print_smi_cost() local 803 aperf = runtime_stat_avg(st, STAT_APERF, cpu, rsd); in print_smi_cost() 806 if ((cycles == 0) || (aperf == 0)) in print_smi_cost() 810 cost = (aperf - cycles) / aperf * 100.00; in print_smi_cost()
|
A D | stat.c | 107 ID(APERF, msr/aperf/),
|
/linux/tools/perf/Documentation/ |
A 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/Documentation/admin-guide/pm/ |
A D | intel_pstate.rst | 719 …80733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230607 tsc=298386…
|