commit | 167309b8fed1b39bf56936f8962e433669b54cd1 | [log] [tgz] |
---|---|---|
author | Joachim Protze <protze@itc.rwth-aachen.de> | Mon Oct 25 17:01:49 2021 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Oct 25 09:26:09 2021 -0700 |
tree | 13267f246af039cca8393746e01d28a20825b274 | |
parent | 6e2a3ace3b6b2099accf79949fa6a858151f0ca9 [diff] |
[OpenMP][Tests] Test omp_get_wtime for invariants As discussed in D108488, testing for invariants of omp_get_wtime would be more reliable than testing for duration of sleep, as return from sleep might be delayed due to system load. Alternatively/in addition, we could compare the time measured by omp_get_wtime to time measured with C++11 chrono (for portability?). Differential Revision: https://reviews.llvm.org/D112458 GitOrigin-RevId: 73682279653eaa257bb252c3920bd7f8a6830b09