]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
tools/power turbostat: label base frequency
authorLen Brown <len.brown@intel.com>
Mon, 23 Mar 2015 22:36:57 +0000 (18:36 -0400)
committerLen Brown <len.brown@intel.com>
Mon, 13 Apr 2015 19:52:54 +0000 (15:52 -0400)
syntax only.

The cool kids are now using the phrase "base frequency",
where in the past we used "max non-turbo frequency" or "TSC frequency".

This distinction becomes important when a processor has a TSC
that runs at a different speed than the "base frequency".

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 50ef8577b91fd1e881e64cbc044e07bd3ad77844..9bf6ca9f53524d76720a2e2297bd9c57d351f67b 100644 (file)
@@ -1091,11 +1091,11 @@ void dump_system_config_info(void)
        fprintf(stderr, "cpu0: MSR_NHM_PLATFORM_INFO: 0x%08llx\n", msr);
 
        ratio = (msr >> 40) & 0xFF;
-       fprintf(stderr, "%d * %.0f = %.0f MHz max efficiency\n",
+       fprintf(stderr, "%d * %.0f = %.0f MHz max efficiency frequency\n",
                ratio, bclk, ratio * bclk);
 
        ratio = (msr >> 8) & 0xFF;
-       fprintf(stderr, "%d * %.0f = %.0f MHz TSC frequency\n",
+       fprintf(stderr, "%d * %.0f = %.0f MHz base frequency\n",
                ratio, bclk, ratio * bclk);
 
        get_msr(0, MSR_IA32_POWER_CTL, &msr);