]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tools/power turbostat: allow sub-sec intervals
authorLen Brown <len.brown@intel.com>
Sat, 13 Feb 2016 03:44:48 +0000 (22:44 -0500)
committerLen Brown <len.brown@intel.com>
Sun, 13 Mar 2016 07:55:32 +0000 (03:55 -0400)
commit2a0609c02e6558df6075f258af98a54a74b050ff
tree66cc0732bd346840bacc34b2048f002c851658df
parentf0057310b40efe9f797ff337e9464e6a6fb9d782
tools/power turbostat: allow sub-sec intervals

turbostat -i interval_sec

will sample and display statistics every interval_sec.
interval_sec used to be a whole number of seconds,
but now we accept a decimal, as small as 0.001 sec (1 ms).

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