Avoid computing state needed only by OMPT unless the ompt_enabled flag is set.
Properly handle a corner case in OMPT where team == NULL.
Paths
| Differential D13502
Reduce overhead of OMPT ClosedPublic Authored by jmellorcrummey on Oct 7 2015, 2:40 AM.
Details Summary Avoid computing state needed only by OMPT unless the ompt_enabled flag is set. Properly handle a corner case in OMPT where team == NULL.
Diff Detail
Event Timelinejmellorcrummey updated this object. Comment Actions LGTM. The change for __kmpc_for_static_fini may be applied to much more functions. I don't know whether this is relevant for the performance or the compiler is smart enough... This revision is now accepted and ready to land.Oct 9 2015, 10:42 AM Closed by commit rL249857: [OMPT] Reduce overhead of OMPT (authored by jlpeyton). · Explain WhyOct 9 2015, 10:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 36964 openmp/trunk/runtime/src/kmp_csupport.c
openmp/trunk/runtime/src/kmp_sched.cpp
openmp/trunk/runtime/src/ompt-specific.c
|