Searched refs:mperf (Results 1 – 10 of 10) sorted by relevance
/linux/arch/x86/kernel/cpu/ |
A D | aperfmperf.c | 26 u64 mperf; member 44 u64 mperf, mperf_delta; in aperfmperf_snapshot_khz() local 50 rdmsrl(MSR_IA32_MPERF, mperf); in aperfmperf_snapshot_khz() 54 mperf_delta = mperf - s->mperf; in aperfmperf_snapshot_khz() 65 s->mperf = mperf; in aperfmperf_snapshot_khz()
|
/linux/tools/testing/selftests/intel_pstate/ |
A D | aperf.c | 28 long long mperf, old_mperf, new_mperf; in main() local 84 mperf = new_mperf-old_mperf; in main() 91 printf("freq: %7.0f\n", tsc / (1.0*aperf / (1.0 * mperf)) / total); in main()
|
/linux/include/trace/events/ |
A D | power.h | 71 u64 mperf, 82 mperf, 94 __field(u64, mperf) 106 __entry->mperf = mperf; 118 (unsigned long long)__entry->mperf,
|
/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 …nt(time_post_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(… 452 mperf = search_obj.group(18) 477 load = Decimal(int(mperf)*100)/ Decimal(tsc) 484 …_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_…
|
/linux/tools/power/cpupower/utils/idle_monitor/ |
A D | idle_monitors.def | 6 DEF(mperf)
|
/linux/arch/x86/kernel/ |
A D | smpboot.c | 2144 u64 aperf, mperf; in init_counter_refs() local 2147 rdmsrl(MSR_IA32_MPERF, mperf); in init_counter_refs() 2150 this_cpu_write(arch_prev_mperf, mperf); in init_counter_refs() 2232 u64 aperf, mperf; in arch_scale_freq_tick() local 2239 rdmsrl(MSR_IA32_MPERF, mperf); in arch_scale_freq_tick() 2242 mcnt = mperf - this_cpu_read(arch_prev_mperf); in arch_scale_freq_tick() 2245 this_cpu_write(arch_prev_mperf, mperf); in arch_scale_freq_tick()
|
/linux/arch/x86/events/ |
A D | msr.c | 116 PMU_EVENT_ATTR_STRING(mperf, attr_mperf, "event=0x02" ); 128 PMU_EVENT_GROUP(events, mperf);
|
/linux/drivers/cpufreq/ |
A D | intel_pstate.c | 112 u64 mperf; 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 2137 rdmsrl(MSR_IA32_MPERF, mperf); in intel_pstate_sample() 2139 if (cpu->prev_mperf == mperf || cpu->prev_tsc == tsc) { in intel_pstate_sample() 2148 cpu->sample.mperf = mperf; in intel_pstate_sample() 2151 cpu->sample.mperf -= cpu->prev_mperf; in intel_pstate_sample() 2155 cpu->prev_mperf = mperf; in intel_pstate_sample() 2188 busy_frac = div_fp(sample->mperf << cpu->aperf_mperf_shift, in get_target_pstate() 2252 sample->mperf, in intel_pstate_adjust_pstate() [all …]
|
/linux/tools/power/x86/turbostat/ |
A D | turbostat.c | 185 unsigned long long mperf; member 992 outp += sprintf(outp, "mperf: %016llX\n", t->mperf); in dump_counters() 1525 if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) { in delta_thread() 1527 old->mperf = new->mperf - old->mperf; in delta_thread() 1553 if (old->mperf == 0) { in delta_thread() 1556 old->mperf = 1; /* divide by 0 protection */ in delta_thread() 1612 t->mperf = 0; in clear_counters() 1689 average.threads.mperf += t->mperf; in sum_counters() 1789 average.threads.mperf /= topo.num_cpus; in compute_average() 2045 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters() [all …]
|
/linux/Documentation/admin-guide/pm/ |
A D | intel_pstate.rst | 719 …] ..s. 1177.680733: pstate_sample: core_busy=107 scaled=94 from=26 to=26 mperf=1143818 aperf=1230…
|
Completed in 30 milliseconds