[Openmp-commits] [PATCH] D157646: [OpenMP] Add option to use different units for blocktime

Terry Wilmarth via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 17 14:43:10 PDT 2023


tlwilmar updated this revision to Diff 551276.
tlwilmar added a comment.

The delay for determining ticks per usec was lowered.  It is now 1 million ticks which was calculated as ~450us based on 2.2GHz clock which is pretty typical base clock frequency on X86:

  (1e6 Ticks)  /  (2.2e9 Ticks/sec)  *  (1e6 usec/sec)  =  454 usec

Really short benchmarks can be affected by longer delay.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157646/new/

https://reviews.llvm.org/D157646

Files:
  openmp/runtime/src/kmp.h
  openmp/runtime/src/kmp_csupport.cpp
  openmp/runtime/src/kmp_ftn_entry.h
  openmp/runtime/src/kmp_global.cpp
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_settings.cpp
  openmp/runtime/src/kmp_settings.h
  openmp/runtime/src/kmp_str.cpp
  openmp/runtime/src/kmp_str.h
  openmp/runtime/src/z_Linux_util.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157646.551276.patch
Type: text/x-patch
Size: 16264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230817/97684199/attachment-0001.bin>


More information about the Openmp-commits mailing list