diff options
author | Len Brown <len.brown@intel.com> | 2015-02-10 05:39:45 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2015-02-10 05:39:45 +0100 |
commit | ee7e38e3d8805ba6471bddd088fae92ce5ab1ef5 (patch) | |
tree | bfab3cdd9b2ac60aebaddaf9489ba1f8477d3ec7 /tools/lib | |
parent | tools/power turbostat: relax dependency on APERF_MSR (diff) | |
download | linux-ee7e38e3d8805ba6471bddd088fae92ce5ab1ef5.tar.xz linux-ee7e38e3d8805ba6471bddd088fae92ce5ab1ef5.zip |
tools/power turbostat: Skip printing disabled package C-states
Replaced previously open-coded Package C-state Limit decoding
with table-driven decoding. In doing so, updated to match January 2015
"Intel(R) 64 and IA-23 Architectures Software Developer's Manual".
In the past, turbostat would print package C-state residency columns
for all package states supported by the model's architecture, even though
a particular SKU may not support them, or they may be disabled by the BIOS.
Now turbostat will skip printing colunns if MSRs indicate that they are not enabled.
eg. many SKUs don't support PC7, and so that column will no longer be printed.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions