This is an archive of the discontinued LLVM Phabricator instance.

Update stats-gathering code
ClosedPublic

Authored by jlpeyton on Nov 7 2016, 12:09 PM.

Details

Summary

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

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 77073.Nov 7 2016, 12:09 PM
jlpeyton retitled this revision from to Update stats-gathering code.
jlpeyton updated this object.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar.
jlpeyton set the repository for this revision to rL LLVM.
jlpeyton added a subscriber: openmp-commits.
tlwilmar accepted this revision.Nov 10 2016, 1:02 PM
tlwilmar edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 10 2016, 1:02 PM
This revision was automatically updated to reflect the committed changes.