diff options
author | Björn Gustavsson <[email protected]> | 2016-03-07 12:57:17 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-07 12:57:17 +0100 |
commit | 983f1346c536527b4fc9ed1d27cfb01d71392e43 (patch) | |
tree | 174d7a7bcc01832f31c8488cca866d547bdc72b1 /erts/emulator/sys | |
parent | c5ef73b4a587bf8f2e7b7b3d74fe917fdbe6153f (diff) | |
download | otp-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 'erts/emulator/sys')
0 files changed, 0 insertions, 0 deletions