mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 03:50:33 +08:00
Loosen up the timing requirements on 4 more tests.
llvm-svn: 161289
This commit is contained in:
@@ -50,7 +50,7 @@ void f()
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(t1 - t0 - milliseconds(250) < milliseconds(5));
|
||||
assert(t1 - t0 - milliseconds(250) < milliseconds(10));
|
||||
assert(test2 == 0);
|
||||
}
|
||||
++runs;
|
||||
|
||||
@@ -58,7 +58,7 @@ void f()
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(t1 - t0 - milliseconds(250) < milliseconds(2));
|
||||
assert(t1 - t0 - milliseconds(250) < milliseconds(10));
|
||||
assert(test2 == 0);
|
||||
}
|
||||
++runs;
|
||||
|
||||
@@ -37,7 +37,7 @@ void f()
|
||||
m.unlock();
|
||||
m.unlock();
|
||||
ns d = t1 - t0 - ms(250);
|
||||
assert(d < ns(2500000)); // within 2.5ms
|
||||
assert(d < ms(10)); // within 10ms
|
||||
}
|
||||
|
||||
int main()
|
||||
|
||||
@@ -37,7 +37,7 @@ void f()
|
||||
m.unlock();
|
||||
m.unlock();
|
||||
ns d = t1 - t0 - ms(250);
|
||||
assert(d < ns(2500000)); // within 2.5ms
|
||||
assert(d < ms(10)); // within 10ms
|
||||
}
|
||||
|
||||
int main()
|
||||
|
||||
Reference in New Issue
Block a user