[Openmp-commits] [PATCH] D13689: Add OMPT events for API locking

Tim Cramer via Openmp-commits openmp-commits at lists.llvm.org
Tue Oct 13 02:17:58 PDT 2015


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

This fix implements the following OMPT events for the API locking routines:
* ompt_event_acquired_lock
* ompt_event_acquired_nest_lock_first
* ompt_event_acquired_nest_lock_next
* ompt_event_init_lock
* ompt_event_init_nest_lock
* ompt_event_destroy_lock
* ompt_event_destroy_nest_lock

For the acquired events the depths of the locks ist required, so a return value was added similiar to the return values we already have for the release lock routines.

Repository:
  rL LLVM

http://reviews.llvm.org/D13689

Files:
  runtime/src/kmp_csupport.c
  runtime/src/kmp_lock.cpp
  runtime/src/kmp_lock.h
  runtime/src/ompt-event-specific.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13689.37224.patch
Type: text/x-patch
Size: 26947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20151013/87479d8d/attachment-0001.bin>


More information about the Openmp-commits mailing list