diff options
author | 2023-07-26 13:57:03 -0700 | |
---|---|---|
committer | 2023-09-24 17:24:01 +0200 | |
commit | a741deac787f0d2d7068638c067db20af9e63752 (patch) | |
tree | dcf2586b545487b69044369c79eaa903c3989041 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | torture: Make kvm-recheck.sh use mktemp (diff) | |
download | wireguard-linux-a741deac787f0d2d7068638c067db20af9e63752.tar.xz wireguard-linux-a741deac787f0d2d7068638c067db20af9e63752.zip |
torture: Make torture_hrtimeout_ns() take an hrtimer mode parameter
The current torture-test sleeps are waiting for a duration, but there
are situations where it is better to wait for an absolute time, for
example, when ending a stutter interval. This commit therefore adds
an hrtimer mode parameter to torture_hrtimeout_ns(). Why not also the
other torture_hrtimeout_*() functions? The theory is that most absolute
times will be in nanoseconds, especially not (say) jiffies.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions