[Openmp-commits] [PATCH] D26361: Update stats-gathering code

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 7 12:09:28 PST 2016


jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar.
jlpeyton added a subscriber: openmp-commits.
jlpeyton set the repository for this revision to rL LLVM.

Have developer timers use partitioning scheme which also required that some redundant developer timers be removed in favor of the already existing normal timers.  Move per thread stats initialization to just after global thread id assignment which is as early as possible.  Also put all global stats initialization code in `__kmp_stats_init()` and all global stats destruction code in `__kmp_stats_fini()`.


Repository:
  rL LLVM

https://reviews.llvm.org/D26361

Files:
  runtime/src/kmp_barrier.cpp
  runtime/src/kmp_global.c
  runtime/src/kmp_runtime.c
  runtime/src/kmp_stats.cpp
  runtime/src/kmp_stats.h
  runtime/src/z_Linux_util.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26361.77073.patch
Type: text/x-patch
Size: 26924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20161107/783806ee/attachment-0001.bin>


More information about the Openmp-commits mailing list