]> granicus.if.org Git - libevent/commit
test-ratelim: calculate timers bias (for slow CPUs) to avoid false-positive
authorAzat Khuzhin <azat@libevent.org>
Sun, 17 Nov 2019 15:13:51 +0000 (18:13 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sun, 17 Nov 2019 17:52:28 +0000 (20:52 +0300)
commit8a34869984c470fb243fc9587c469b316add2f7e
tree68dc42750d5d02eb1a07465962c202b865ec3342
parent026590f908f8ef8602d54bd680c8bef9f4552d55
test-ratelim: calculate timers bias (for slow CPUs) to avoid false-positive

This can be/should be done for regression tests too.

Refs: https://ci.appveyor.com/project/libevent/libevent/builds/28916689/job/kg621aa194a0qbym
Refs: https://github.com/libevent/libevent/pull/917#issuecomment-553811834
v2: EVENT_BASE_FLAG_PRECISE_TIMER
test/test-ratelim.c