commit | 84755367e08cc3f76d92fdb6eefe4a5735be9ea4 | [log] [tgz] |
---|---|---|
author | Peyton, Jonathan L <jonathan.l.peyton@intel.com> | Fri Aug 20 16:06:13 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Aug 23 06:16:11 2021 -0700 |
tree | 4dab61b8f8d86e6a32a1503f61f554636cae2c40 | |
parent | 16e105bedc0d96ad2c4d2ec575c40ef2e87fa1d5 [diff] |
[OpenMP][test] fix omp_get_wtime.c test to be more accommodating The omp_get_wtime.c test fails intermittently if the recorded times are off by too much which can happen when many tests are run in parallel. Instead of failing if one timing is a little off, take average of 100 timings minus the 10 worst. Differential Revision: https://reviews.llvm.org/D108488 GitOrigin-RevId: d39d3a327b1303012370e47d991459ffbfce45ef