]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 22 Dec 2013 00:18:01 +0000 (01:18 +0100)
commit4904d2c745e074e8725325b5b5de4cc850e20888
treeca47224d323fb4aeb75017f671a1852bb4e10161
parent0d625059f18a97d3addf5d7523d1c7e090427dc8
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>
[rjw: Whitespace]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/x86/turbostat/turbostat.c