[Openmp-commits] [openmp] [openmp] using h/w clock tick to measure time instead of gettimeofday… (PR #85474)
Brad Smith via Openmp-commits
openmp-commits at lists.llvm.org
Fri Mar 15 23:44:54 PDT 2024
================
@@ -2646,10 +2646,14 @@ static void __kmp_set_drdpa_lock_flags(kmp_drdpa_lock_t *lck,
kmp_backoff_t __kmp_spin_backoff_params = {1, 4096, 100};
#else
// Use nanoseconds for other platforms
+#if KMP_ARCH_ARM64
----------------
brad0 wrote:
I think it would look better to keep the arch specific bits together.
```
#if KMP_ARCH_X86 || KMP_ARCH_X86_64
...
#elif KMP_ARCH_ARM64
...
#else
```
https://github.com/llvm/llvm-project/pull/85474
More information about the Openmp-commits
mailing list