aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-07 12:57:17 +0100
committerBjörn Gustavsson <[email protected]>2016-03-07 12:57:17 +0100
commit983f1346c536527b4fc9ed1d27cfb01d71392e43 (patch)
tree174d7a7bcc01832f31c8488cca866d547bdc72b1 /lib/kernel/test
parentc5ef73b4a587bf8f2e7b7b3d74fe917fdbe6153f (diff)
downloadotp-983f1346c536527b4fc9ed1d27cfb01d71392e43.tar.gz
otp-983f1346c536527b4fc9ed1d27cfb01d71392e43.tar.bz2
otp-983f1346c536527b4fc9ed1d27cfb01d71392e43.zip
io_SUITE: Don't fail on fast computers with rough timers
On a computer which is fast, but with timers with low resolution, the measured time for an empty queue could be zero, which could cause the test case to fail. Add a calibration function to scale up the amount the amount of work so that the measured time will not be lower than 50 ms.
Diffstat (limited to 'lib/kernel/test')
0 files changed, 0 insertions, 0 deletions