summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-09-24 15:10:57 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-09-24 15:10:57 +0000
commitf209cdfade65a822d34160c94f103a8e3bf02498 (patch)
treee254e7ac32a06e64a86a63e15c7146a31a6e2eac /openmp/runtime/test
parent5a60bc574350ce71985f686a32b7d3862beca9af (diff)
downloadbcm5719-llvm-f209cdfade65a822d34160c94f103a8e3bf02498.tar.gz
bcm5719-llvm-f209cdfade65a822d34160c94f103a8e3bf02498.zip
[OpenMP Testsuite] Change omp_get_wtime.c timer resolution to 3 percent
llvm-svn: 248501
Diffstat (limited to 'openmp/runtime/test')
-rw-r--r--openmp/runtime/test/api/omp_get_wtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/test/api/omp_get_wtime.c b/openmp/runtime/test/api/omp_get_wtime.c
index f7be1faef5a..c93c2a5b4b3 100644
--- a/openmp/runtime/test/api/omp_get_wtime.c
+++ b/openmp/runtime/test/api/omp_get_wtime.c
@@ -16,7 +16,7 @@ int test_omp_get_wtime()
my_sleep (wait_time);
end = omp_get_wtime();
measured_time = end-start;
- return ((measured_time > 0.99 * wait_time) && (measured_time < 1.01 * wait_time)) ;
+ return ((measured_time > 0.97 * wait_time) && (measured_time < 1.03 * wait_time)) ;
}
int main()
OpenPOWER on IntegriCloud