Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/cpu/
Daperfmperf.c22 u64 aperf; member
40 u64 aperf, aperf_delta; in aperfmperf_snapshot_khz() local
46 rdmsrl(MSR_IA32_APERF, aperf); in aperfmperf_snapshot_khz()
50 aperf_delta = aperf - s->aperf; in aperfmperf_snapshot_khz()
61 s->aperf = aperf; in aperfmperf_snapshot_khz()
/Linux-v4.19/tools/testing/selftests/intel_pstate/
Daperf.c23 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.gitignore1 aperf
DMakefile9 TEST_GEN_FILES := msr aperf
Drun.sh55 ./aperf $cpu &
/Linux-v4.19/tools/power/cpupower/
D.gitignore7 cpufreq-aperf
19 utils/cpufreq-aperf.o
/Linux-v4.19/include/trace/events/
Dpower.h72 u64 aperf,
83 aperf,
95 __field(u64, aperf)
107 __entry->aperf = aperf;
119 (unsigned long long)__entry->aperf,
/Linux-v4.19/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py328 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument
338 …_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(tsc), freq_g…
455 aperf = search_obj.group(20)
486 …u_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io…
/Linux-v4.19/drivers/cpufreq/
Dintel_pstate.c120 u64 aperf; member
1560 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf()
1565 u64 aperf, mperf; in intel_pstate_sample() local
1570 rdmsrl(MSR_IA32_APERF, aperf); in intel_pstate_sample()
1581 cpu->sample.aperf = aperf; in intel_pstate_sample()
1584 cpu->sample.aperf -= cpu->prev_aperf; in intel_pstate_sample()
1588 cpu->prev_aperf = aperf; in intel_pstate_sample()
1692 sample->aperf, in intel_pstate_adjust_pstate()
2176 sample->aperf, in intel_cpufreq_trace()
/Linux-v4.19/tools/perf/util/
Dstat-shadow.c681 double smi_num, aperf, cycles, cost = 0.0; in print_smi_cost() local
686 aperf = runtime_stat_avg(st, STAT_APERF, ctx, cpu); in print_smi_cost()
689 if ((cycles == 0) || (aperf == 0)) in print_smi_cost()
693 cost = (aperf - cycles) / aperf * 100.00; in print_smi_cost()
Dstat.c91 ID(APERF, msr/aperf/),
/Linux-v4.19/tools/perf/Documentation/
Dperf-stat.txt300 Measure SMI cost if msr/aperf/ and msr/smi/ events are supported.
304 The aperf counter will not be effected by the setting.
305 The cost of SMI can be measured by (aperf - unhalted core cycles).
309 The output is SMI cycles%, equals to (aperf - unhalted core cycles) / aperf
/Linux-v4.19/tools/power/x86/turbostat/
Dturbostat.c168 unsigned long long aperf; member
788 outp += sprintf(outp, "aperf: %016llX\n", t->aperf); in dump_counters()
947 1.0 / units * t->aperf / interval_float); in format_counters()
954 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters()
957 tsc / units * t->aperf / t->mperf / interval_float); in format_counters()
1294 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread()
1295 old->aperf = new->aperf - old->aperf; in delta_thread()
1377 t->aperf = 0; in clear_counters()
1450 average.threads.aperf += t->aperf; in sum_counters()
1542 average.threads.aperf /= topo.num_cpus; in compute_average()
[all …]
/Linux-v4.19/arch/x86/events/
Dmsr.c107 PMU_EVENT_ATTR_STRING(aperf, evattr_aperf, "event=0x01" );
/Linux-v4.19/Documentation/admin-guide/pm/
Dintel_pstate.rst675 …80733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230607 tsc=298386…