Searched refs:base_cpu (Results 1 – 9 of 9) sorted by relevance
/tools/power/cpupower/utils/idle_monitor/ |
D | nhm_idle.c | 132 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()
|
D | snb_idle.c | 123 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()
|
D | hsw_ext_idle.c | 125 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()
|
D | mperf_monitor.c | 84 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc()
|
/tools/power/cpupower/utils/ |
D | cpupower.c | 35 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/ |
D | turbostat.c | 94 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/ |
D | helpers.h | 37 extern int base_cpu;
|
D | cpuid.c | 74 if (proc != (unsigned int)base_cpu) in get_cpu_info()
|
/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 57 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()
|