diff options
author | 2015-02-11 04:27:54 -0500 | |
---|---|---|
committer | 2015-02-11 19:37:43 -0800 | |
commit | bc2f3873f74414cdf095b337a73f96262e6aadbc (patch) | |
tree | e843ed92a363dcb78fa0e026482b531d13114ce2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'rco_correctness' (diff) | |
download | linux-dev-bc2f3873f74414cdf095b337a73f96262e6aadbc.tar.xz linux-dev-bc2f3873f74414cdf095b337a73f96262e6aadbc.zip |
et131x: use msecs_to_jiffies for conversions
This is only an API consolidation and should make things more readable.
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 cleanup only.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions