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)
commit5c56be9a25bad1af44d25a892a5de3dec03babc7
tree757354475cf5af83b69b7321d7a996486807c94d
parente6f9bb3cc63346e457405ef30209b3d2e18c5992
turbostat: Add option to report joules consumed per sample

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