Commit 8153e7ef authored by Len Brown's avatar Len Brown Committed by Tim Gardner
Browse files

tools/power turbostat: allow sub-sec intervals

BugLink: http://bugs.launchpad.net/bugs/1591802



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: default avatarLen Brown <len.brown@intel.com>
(cherry picked from commit 2a0609c0)
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Acked-by: default avatarBrad Figg <brad.figg@canonical.com>
Acked-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 9a0c424c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment