tools/power turbostat: update HWP dump to decimal from hex
authorLen Brown <len.brown@intel.com>
Sat, 4 Mar 2017 23:18:28 +0000 (18:18 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 13 Apr 2017 00:03:35 +0000 (20:03 -0400)
commit6dbd25a24599db07d88a805615bad1f4d48a5749
tree02dc96f5fde7520b5481eafb02bf83129abe1266
parentf4896fa502b81c5bce93f375bd17b14725c01826
tools/power turbostat: update HWP dump to decimal from hex

Syntax only.

The HWP CAPABILTIES and REQUEST ratios are more easily
viewed in decimal -- just multiply by 100 and you get MHz...

new:
cpu0: MSR_HWP_CAPABILITIES: 0x010c1b23 (high 35 guar 27 eff 12 low 1)
cpu0: MSR_HWP_REQUEST: 0x80002301 (min 1 max 35 des 0 epp 0x80 window 0x0 pkg 0x0)

old:
cpu0: MSR_HWP_CAPABILITIES: 0x010c1b23 (high 0x23 guar 0x1b eff 0xc low 0x1)
cpu0: MSR_HWP_REQUEST: 0x80002301 (min 0x1 max 0x23 des 0x0 epp 0x80 window 0x0 pkg 0x0)

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