[Openmp-dev] FW: D11759: Tidy statistics collection

Cownie, James H james.h.cownie at intel.com
Wed Aug 5 02:51:31 PDT 2015


Phabricator doesn't seem to have openmp-dev as an option, so I'm copying here by hand.

-- Jim

James Cownie <james.h.cownie at intel.com>
SSG/DPD/TCAR (Technical Computing, Analyzers and Runtimes)
Tel: +44 117 9071438

-----Original Message-----
From: Jim Cownie [mailto:james.h.cownie at intel.com] 
Sent: Wednesday, August 5, 2015 10:49 AM
To: Cownie, James H; hfinkel at anl.gov; Peyton, Jonathan L; openmp-commits at lists.llvm.org
Subject: [PATCH] D11759: Tidy statistics collection

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

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11759.31333.patch
Type: text/x-patch
Size: 38337 bytes
Desc: D11759.31333.patch
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150805/3e28621a/attachment-0001.bin>


More information about the Openmp-dev mailing list