tools/power turbostat: add [-d MSR#][-D MSR#] options to print counter deltas
commit8e180f3cb6b7510a3bdf14e16ce87c9f5d86f102
authorLen Brown <len.brown@intel.com>
Sat, 22 Sep 2012 05:25:08 +0000 (22 01:25 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 28 Sep 2012 02:04:56 +0000 (27 22:04 -0400)
tree2a7b3ac9789a47d1bfb9ccbb7a9a4fa31f91b61d
parent2f32edf12c1eafc8e5b1b0337360993fde1b3565
tools/power turbostat: add [-d MSR#][-D MSR#] options to print counter deltas

 # turbostat -d 0x34
is useful for printing the number of SMI's within an interval
on Nehalem and newer processors.

where
 # turbostat -m 0x34
will simply print out the total SMI count since reset.

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