[Openmp-commits] [PATCH] D17869: [STATS] Add a total statistics count which is an aggregation across all threads for each valid timers.

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Thu Mar 3 14:42:27 PST 2016


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

This change removes synthesized stats and instead has all timers print out a total which is the aggregate statistics across threads.  This is displayed as "Total_foo" at the end of program.  The `stats_flags_e::synthesized` flag is removed and the printStats() function is split into two separate functions: printTimerStats() which can display the aggregate total and printCounterStats().

Repository:
  rL LLVM

http://reviews.llvm.org/D17869

Files:
  runtime/src/kmp_stats.cpp
  runtime/src/kmp_stats.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17869.49778.patch
Type: text/x-patch
Size: 12070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160303/a1db332f/attachment.bin>


More information about the Openmp-commits mailing list