diff options
author | 2015-03-17 07:47:58 -0400 | |
---|---|---|
committer | 2015-04-15 12:10:21 -0400 | |
commit | aca607ba242dde316794c0b607048fd5b688a520 (patch) | |
tree | c5b9934694c8e3240d1f220f528e2ab166e838ce /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dm log userspace base: fix compile warning (diff) | |
download | wireguard-linux-aca607ba242dde316794c0b607048fd5b688a520.tar.xz wireguard-linux-aca607ba242dde316794c0b607048fd5b688a520.zip |
dm delay: 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.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions