Page MenuHomePhabricator

[STATS] Add a total statistics count which is an aggregation across all threads for each valid timers.
ClosedPublic

Authored by jlpeyton on Mar 3 2016, 2:42 PM.

Details

Summary

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().

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 49778.Mar 3 2016, 2:42 PM
jlpeyton retitled this revision from to [STATS] Add a total statistics count which is an aggregation across all threads for each valid timers..
jlpeyton updated this object.
jlpeyton added reviewers: jcownie, tlwilmar.
jlpeyton set the repository for this revision to rL LLVM.
jlpeyton added a subscriber: openmp-commits.
jcownie accepted this revision.Mar 11 2016, 7:53 AM
jcownie edited edge metadata.

Looks good to me.

This revision is now accepted and ready to land.Mar 11 2016, 7:53 AM
This revision was automatically updated to reflect the committed changes.