| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/ |
| H A D | aperfmperf.c | 23 u64 aperf; member 41 u64 aperf, aperf_delta; in aperfmperf_snapshot_khz() local 47 rdmsrl(MSR_IA32_APERF, aperf); in aperfmperf_snapshot_khz() 51 aperf_delta = aperf - s->aperf; in aperfmperf_snapshot_khz() 62 s->aperf = aperf; in aperfmperf_snapshot_khz()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/intel_pstate/ |
| H A D | aperf.c | 23 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()
|
| H A D | .gitignore | 2 aperf
|
| H A D | Makefile | 9 TEST_GEN_FILES := msr aperf
|
| H A D | run.sh | 55 ./aperf $cpu &
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | power.h | 72 u64 aperf, 83 aperf, 95 __field(u64, aperf) 107 __entry->aperf = aperf; 119 (unsigned long long)__entry->aperf,
|
| /OK3568_Linux_fs/kernel/tools/power/cpupower/ |
| H A D | .gitignore | 8 cpufreq-aperf 20 utils/cpufreq-aperf.o
|
| /OK3568_Linux_fs/kernel/tools/power/x86/intel_pstate_tracer/ |
| H 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…
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | smpboot.c | 2033 u64 aperf, mperf; in init_counter_refs() local 2035 rdmsrl(MSR_IA32_APERF, aperf); in init_counter_refs() 2038 this_cpu_write(arch_prev_aperf, aperf); in init_counter_refs() 2080 u64 aperf, mperf; in arch_scale_freq_tick() local 2086 rdmsrl(MSR_IA32_APERF, aperf); in arch_scale_freq_tick() 2089 acnt = aperf - this_cpu_read(arch_prev_aperf); in arch_scale_freq_tick() 2092 this_cpu_write(arch_prev_aperf, aperf); in arch_scale_freq_tick()
|
| /OK3568_Linux_fs/kernel/arch/x86/events/ |
| H A D | msr.c | 112 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" ); 124 PMU_EVENT_GROUP(events, aperf);
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | intel_pstate.c | 120 u64 aperf; member 1867 sample->core_avg_perf = div_ext_fp(sample->aperf, sample->mperf); in intel_pstate_calc_avg_perf() 1872 u64 aperf, mperf; in intel_pstate_sample() local 1877 rdmsrl(MSR_IA32_APERF, aperf); in intel_pstate_sample() 1888 cpu->sample.aperf = aperf; in intel_pstate_sample() 1891 cpu->sample.aperf -= cpu->prev_aperf; in intel_pstate_sample() 1895 cpu->prev_aperf = aperf; in intel_pstate_sample() 1994 sample->aperf, in intel_pstate_adjust_pstate() 2534 sample->aperf, in intel_cpufreq_trace()
|
| /OK3568_Linux_fs/kernel/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 173 unsigned long long aperf; member 929 outp += sprintf(outp, "aperf: %016llX\n", t->aperf); in dump_counters() 1096 1.0 / units * t->aperf / interval_float); in format_counters() 1103 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters() 1106 tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 1454 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1455 old->aperf = new->aperf - old->aperf; in delta_thread() 1539 t->aperf = 0; in clear_counters() 1614 average.threads.aperf += t->aperf; in sum_counters() 1712 average.threads.aperf /= topo.num_cpus; in compute_average() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | stat-shadow.c | 766 double smi_num, aperf, cycles, cost = 0.0; in print_smi_cost() local 771 aperf = runtime_stat_avg(st, STAT_APERF, ctx, cpu); in print_smi_cost() 774 if ((cycles == 0) || (aperf == 0)) in print_smi_cost() 778 cost = (aperf - cycles) / aperf * 100.00; in print_smi_cost()
|
| H A D | stat.c | 103 ID(APERF, msr/aperf/),
|
| /OK3568_Linux_fs/kernel/tools/perf/Documentation/ |
| H A D | perf-stat.txt | 405 Measure SMI cost if msr/aperf/ and msr/smi/ events are supported. 409 The aperf counter will not be effected by the setting. 410 The cost of SMI can be measured by (aperf - unhalted core cycles). 414 The output is SMI cycles%, equals to (aperf - unhalted core cycles) / aperf
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/pm/ |
| H A D | intel_pstate.rst | 712 …80733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230607 tsc=298386…
|