1.5.1 (revision 4026)
Data Structures | Functions
otf2/OTF2_OpenMP_Locks.h File Reference

OpenMP locks for OTF2. More...

#include <otf2/otf2.h>
#include <omp.h>

Go to the source code of this file.

Data Structures

struct  OTF2_Lock
 The OpenMP locking object type. More...

Functions

static OTF2_ErrorCode OTF2_OpenMP_Archive_SetLockingCallbacks (OTF2_Archive *archive)
 Register callbacks to use OpenMP locks for a OTF2 archive.
static OTF2_ErrorCode OTF2_OpenMP_Reader_SetLockingCallbacks (OTF2_Reader *reader)
 Register callbacks to use OpenMP locks for a OTF2 reader.

Detailed Description

OpenMP locks for OTF2.


Function Documentation

static OTF2_ErrorCode OTF2_OpenMP_Archive_SetLockingCallbacks ( OTF2_Archive archive) [static]

Register callbacks to use OpenMP locks for a OTF2 archive.

Parameters:
archiveThe archive handle.
Since:
Version 1.5
Returns:
Success or error code.
Examples:
otf2_openmp_writer_example.c.
static OTF2_ErrorCode OTF2_OpenMP_Reader_SetLockingCallbacks ( OTF2_Reader reader) [static]

Register callbacks to use OpenMP locks for a OTF2 reader.

Parameters:
readerThe reader handle.
Since:
Version 1.5
Returns:
Success or error code.