mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 14:20:04 +00:00
memcheck/tests/linux/timerfd-syscall: Avoid failure on heavily loaded systems
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11997
This commit is contained in:
@@ -268,7 +268,7 @@ int main(int ac, char **av)
|
||||
else
|
||||
{
|
||||
const double delta = (ttmr - tnow) * 1e-6;
|
||||
if (19 <= ticks && ticks <= 25 && 1.9 < delta && delta < 2.5)
|
||||
if (19 <= ticks && ticks <= 55 && 1.9 < delta && delta < 5.5)
|
||||
fprintf(stderr, "got about 20 timer ticks after about 2s\n");
|
||||
else
|
||||
fprintf(stderr, "got timer ticks (%ld) after %.2f s\n", ticks, delta);
|
||||
|
||||
Reference in New Issue
Block a user