This is an archive of the discontinued LLVM Phabricator instance.

Add OMPT events for the OpenMP taskwait construct.
ClosedPublic

Authored by protze.joachim on Nov 5 2015, 8:11 AM.

Details

Summary

This patch adds the implementation of OMPT tracing events for openMP taskwait constructs.

Diff Detail

Event Timeline

protze.joachim retitled this revision from to Add OMPT events for the OpenMP taskwait construct..
protze.joachim updated this object.
protze.joachim added a subscriber: openmp-commits.
jlpeyton accepted this revision.Nov 6 2015, 12:36 PM
jlpeyton edited edge metadata.

This LGTM, but I would like John to give the final ok.

This revision is now accepted and ready to land.Nov 6 2015, 12:36 PM
jmellorcrummey edited edge metadata.Nov 6 2015, 1:33 PM

It appears that no context is available for the diffs. Without the context, I can't tell whether the additions are appropriate or not. The callbacks are intended to monitor the beginning and end of an episode of waiting. There is no evidence of the waiting in the diffs provided without context.

Please prepare the diffs using "git diff -U999999 other-branch" and update the diffs for this patch.

protze.joachim edited edge metadata.

Replaced the diff by a full differential.

The callbacks are intended to monitor the beginning and end of an episode of waiting. There is no evidence of the waiting in the diffs provided without context.

Please notice, the callbacks implemented here are NOT ompt_event_WAIT_taskwait_begin/end.
The callbacks implemented here just mark the event of reaching / leaving the OpenMP taskwait region, associated to a taskwait construct.

I apologize that I misunderstood begin/end pair being implemented when I initially reviewed the patch.

With the context provided, the patch looks good to me.

jlpeyton closed this revision.Nov 9 2015, 8:01 AM

Manually closing. I forgot to add the Differential Revision: line in the commit message.