Home
last modified time | relevance | path

Searched refs:get_msr (Results 1 – 2 of 2) sorted by relevance

/tools/power/x86/turbostat/
Dturbostat.c332 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
1485 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
1545 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
1552 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
1557 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
1586 if (get_msr(cpu, MSR_SMI_COUNT, &msr)) in get_counters()
1591 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
1605 if (get_msr(cpu, MSR_CORE_C3_RESIDENCY, &c->c3)) in get_counters()
1610 if (get_msr(cpu, MSR_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1613 if (get_msr(cpu, MSR_KNL_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
[all …]
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c627 int get_msr(int cpu, int offset, unsigned long long *msr) in get_msr() function
684 get_msr(cpu, msr_offset, &msr); in read_hwp_cap()
719 get_msr(cpu, msr_offset, &msr); in read_hwp_request()
756 get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr); in print_cpu_msrs()
785 get_msr(first_cpu_in_pkg[pkg], MSR_HWP_INTERRUPT, &msr); in print_pkg_msrs()
792 get_msr(first_cpu_in_pkg[pkg], MSR_HWP_STATUS, &msr); in print_pkg_msrs()
1030 get_msr(cpu, MSR_PM_ENABLE, &msr); in enable_hwp_on_cpu()
1045 get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr); in update_cpu_msrs()
1056 get_msr(cpu, MSR_IA32_MISC_ENABLE, &msr); in update_cpu_msrs()
1209 get_msr(base_cpu, MSR_PM_ENABLE, &msr); in verify_hwp_is_enabled()
[all …]