turbostat: Add option to report joules consumed per sample
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Mon, 16 Dec 2013 18:23:41 +0000 (10:23 -0800)
committerLen Brown <len.brown@intel.com>
Sun, 19 Jan 2014 03:34:32 +0000 (22:34 -0500)
Add "-J" option to report energy consumed in joules per sample.  This option
also adds the sample time to the reported values.

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

Simple merge