Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/
A Daperfmperf.c25 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 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()
A D.gitignore2 aperf
A DMakefile9 TEST_GEN_FILES := msr aperf
A Drun.sh55 ./aperf $cpu &
/linux/include/trace/events/
A Dpower.h72 u64 aperf,
83 aperf,
95 __field(u64, aperf)
107 __entry->aperf = aperf;
119 (unsigned long long)__entry->aperf,
/linux/tools/power/cpupower/
A D.gitignore8 cpufreq-aperf
20 utils/cpufreq-aperf.o
/linux/tools/power/x86/intel_pstate_tracer/
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…
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 Dsmpboot.c2144 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 Dmsr.c115 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" );
127 PMU_EVENT_GROUP(events, aperf);
/linux/drivers/cpufreq/
A Dintel_pstate.c111 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 Dturbostat.c184 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 Dstat-shadow.c799 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 Dstat.c107 ID(APERF, msr/aperf/),
/linux/tools/perf/Documentation/
A Dperf-stat.txt456 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 Dintel_pstate.rst719 …80733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230607 tsc=298386…

Completed in 55 milliseconds