aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNicholas Mc Guire <[email protected]>2015-02-09 10:54:10 -0500
committerGreg Kroah-Hartman <[email protected]>2015-03-07 04:02:26 +0100
commit3372ec28622083ac87daf18918a222fbee06f6f9 (patch)
tree15abebced96ef63405721de74c34c64f97052f3c /tools/perf/scripts/python/export-to-postgresql.py
parent678afb9aa8cf2002160c1a56cef5c90df6dc285e (diff)
vt: use msecs_to_jiffies for time conversion
Converting milliseconds to jiffies by "val * HZ / 1000" is technically OK but msecs_to_jiffies(val) is the cleaner solution and handles all corner cases correctly. This is a minor API consolidation only and should make things more readable. Signed-off-by: Nicholas Mc Guire <[email protected]> Reviewed-by: David Herrmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions