]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 20:11:05 +0000 (15:11 -0500)
commitbd7b502911e8269fd40e7dc0e1a524df750e2a80
tree771f0346d0b33a217c86959d851b06b737eb8981
parentf86254223ad7e37a4d8f63927db8b3371bdb1aa6
tools/power turbostat: allow sub-sec intervals

Orabug: 24811361

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>
(cherry picked from commit 2a0609c02e6558df6075f258af98a54a74b050ff)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c