Home
last modified time | relevance | path

Searched refs:base_cpu (Results 1 – 9 of 9) sorted by relevance

/tools/power/cpupower/utils/idle_monitor/
Dnhm_idle.c132 nhm_get_count(TSC, &tsc_at_measure_start, base_cpu); in nhm_start()
140 nhm_get_count(TSC, &dbg, base_cpu); in nhm_start()
151 nhm_get_count(TSC, &tsc_at_measure_end, base_cpu); in nhm_stop()
159 nhm_get_count(TSC, &dbg, base_cpu); in nhm_stop()
Dsnb_idle.c123 snb_get_count(TSC, &tsc_at_measure_start, base_cpu); in snb_start()
132 snb_get_count(TSC, &tsc_at_measure_end, base_cpu); in snb_stop()
Dhsw_ext_idle.c125 hsw_ext_get_count(TSC, &tsc_at_measure_start, base_cpu); in hsw_ext_start()
134 hsw_ext_get_count(TSC, &tsc_at_measure_end, base_cpu); in hsw_ext_stop()
Dmperf_monitor.c84 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc()
/tools/power/cpupower/utils/
Dcpupower.c35 int base_cpu; variable
204 base_cpu = sched_getcpu(); in main()
205 if (base_cpu < 0) { in main()
214 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in main()
/tools/power/x86/turbostat/
Dturbostat.c94 int base_cpu; variable
1785 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in dump_nhm_platform_info()
1787 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr); in dump_nhm_platform_info()
1797 get_msr(base_cpu, MSR_IA32_POWER_CTL, &msr); in dump_nhm_platform_info()
1799 base_cpu, msr, msr & 0x2 ? "EN" : "DIS"); in dump_nhm_platform_info()
1810 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT2, &msr); in dump_hsw_turbo_ratio_limits()
1812 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT2: 0x%08llx\n", base_cpu, msr); in dump_hsw_turbo_ratio_limits()
1832 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &msr); in dump_ivt_turbo_ratio_limits()
1834 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT1: 0x%08llx\n", base_cpu, msr); in dump_ivt_turbo_ratio_limits()
1898 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_turbo_ratio_limits()
[all …]
/tools/power/cpupower/utils/helpers/
Dhelpers.h37 extern int base_cpu;
Dcpuid.c74 if (proc != (unsigned int)base_cpu) in get_cpu_info()
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c57 int base_cpu; variable
1209 get_msr(base_cpu, MSR_PM_ENABLE, &msr); in verify_hwp_is_enabled()
1247 base_cpu = sched_getcpu(); in set_base_cpu()
1248 if (base_cpu < 0) in set_base_cpu()
1258 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in probe_dev_msr()
1291 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in early_cpuid()