[Openmp-commits] [openmp] r248501 - [OpenMP Testsuite] Change omp_get_wtime.c timer resolution to 3 percent
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Thu Sep 24 08:10:57 PDT 2015
Author: jlpeyton
Date: Thu Sep 24 10:10:57 2015
New Revision: 248501
URL: http://llvm.org/viewvc/llvm-project?rev=248501&view=rev
Log:
[OpenMP Testsuite] Change omp_get_wtime.c timer resolution to 3 percent
Modified:
openmp/trunk/runtime/test/api/omp_get_wtime.c
Modified: openmp/trunk/runtime/test/api/omp_get_wtime.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/test/api/omp_get_wtime.c?rev=248501&r1=248500&r2=248501&view=diff
==============================================================================
--- openmp/trunk/runtime/test/api/omp_get_wtime.c (original)
+++ openmp/trunk/runtime/test/api/omp_get_wtime.c Thu Sep 24 10:10:57 2015
@@ -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()
More information about the Openmp-commits
mailing list