aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPrarit Bhargava <[email protected]>2017-10-25 09:51:32 -0400
committerShuah Khan <[email protected]>2017-11-03 09:28:02 -0600
commit9da779c324db87ca340e0eb1259c949874f17bed (patch)
treeb6850615fcddeea9e71796393454248fb8a6568f /tools/perf/scripts/python/export-to-postgresql.py
parent0b07194bb55ed836c2cc7c22e866b87a14681984 (diff)
cpupower: Fix no-rounding MHz frequency output
'cpupower frequency-info -ln' returns kHz values on systems with MHz range minimum CPU frequency range. For example, on a 800MHz to 4.20GHz system the command returns hardware limits: 800000 MHz - 4.200000 GHz The code that causes this error can be removed. The next else if clause will handle the output correctly such that hardware limits: 800.000 MHz - 4.200000 GHz is displayed correctly. [v2]: Remove two lines instead of fixing broken code. Signed-off-by: Prarit Bhargava <[email protected]> Cc: Thomas Renninger <[email protected]> Cc: Stafford Horne <[email protected]> Cc: Shuah Khan <[email protected]> Reviewed-by: Stafford Horne <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions