]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc28df17460b08d9e5fcecb99d4d7699de5bd04dd
tree02dc96f5fde7520b5481eafb02bf83129abe1266
parent103fbd3590286cf44cbbd60dcabd96eb932969cc
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