[Openmp-commits] [PATCH] D11759: Tidy statistics collection
Jim Cownie
james.h.cownie at intel.com
Wed Aug 5 02:49:09 PDT 2015
jcownie created this revision.
jcownie added reviewers: hfinkel, jlpeyton, openmp-commits.
This removes some statistics counters and timers which were not used,
adds new counters and timers for some language features that were not
monitored previously and separates the counters and timers into those
which are of interest for investigating user code and those which are
only of interest to the developer of the runtime itself.
The runtime developer statistics are now ony collected if the
additional #define KMP_DEVELOPER_STATS is set.
Additional user statistics which are now collected include
Count of nested parallelism (omp parallel inside a parallel
region)
Count of omp distribute occurrences
Count of omp teams occurrences
Counts of task related statistics (taskyield, task execution, task
cancellation, task steal)
Values passed to omp_set_numtheads
None of this affects code compiled without stats gathering enabled,
which is the normal library build mode.
http://reviews.llvm.org/D11759
Files:
runtime/src/kmp_barrier.cpp
runtime/src/kmp_cancel.cpp
runtime/src/kmp_csupport.c
runtime/src/kmp_dispatch.cpp
runtime/src/kmp_runtime.c
runtime/src/kmp_sched.cpp
runtime/src/kmp_stats.cpp
runtime/src/kmp_stats.h
runtime/src/kmp_tasking.c
runtime/src/z_Linux_util.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11759.31333.patch
Type: text/x-patch
Size: 38337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20150805/60d96143/attachment-0001.bin>
More information about the Openmp-commits
mailing list