2.0 (revision 4408)
|
This defines the callbacks for the global event reader. More...
#include <stdint.h>
#include <otf2/OTF2_ErrorCodes.h>
#include <otf2/OTF2_GeneralDefinitions.h>
#include <otf2/OTF2_AttributeList.h>
#include <otf2/OTF2_Events.h>
Go to the source code of this file.
Typedefs | |
typedef struct OTF2_GlobalEvtReaderCallbacks_struct | OTF2_GlobalEvtReaderCallbacks |
Opaque struct which holds all event record callbacks. | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_Unknown) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList) |
Callback for an unknown event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_BufferFlush) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_TimeStamp stopTime) |
Callback for the BufferFlush event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MeasurementOnOff) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_MeasurementMode measurementMode) |
Callback for the MeasurementOnOff event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_Enter) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region) |
Callback for the Enter event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_Leave) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region) |
Callback for the Leave event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiSend) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength) |
Callback for the MpiSend event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiIsend) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID) |
Callback for the MpiIsend event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiIsendComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID) |
Callback for the MpiIsendComplete event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiIrecvRequest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID) |
Callback for the MpiIrecvRequest event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiRecv) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength) |
Callback for the MpiRecv event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiIrecv) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID) |
Callback for the MpiIrecv event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiRequestTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID) |
Callback for the MpiRequestTest event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiRequestCancelled) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID) |
Callback for the MpiRequestCancelled event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiCollectiveBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList) |
Callback for the MpiCollectiveBegin event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_MpiCollectiveEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived) |
Callback for the MpiCollectiveEnd event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_OmpFork) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t numberOfRequestedThreads) |
Callback for the OmpFork event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_OmpJoin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList) |
Callback for the OmpJoin event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_OmpAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder) |
Callback for the OmpAcquireLock event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_OmpReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder) |
Callback for the OmpReleaseLock event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_OmpTaskCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID) |
Callback for the OmpTaskCreate event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_OmpTaskSwitch) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID) |
Callback for the OmpTaskSwitch event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_OmpTaskComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID) |
Callback for the OmpTaskComplete event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_Metric) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_MetricRef metric, uint8_t numberOfMetrics, const OTF2_Type *typeIDs, const OTF2_MetricValue *metricValues) |
Callback for the Metric event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ParameterString) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, OTF2_StringRef string) |
Callback for the ParameterString event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ParameterInt) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, int64_t value) |
Callback for the ParameterInt event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ParameterUnsignedInt) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, uint64_t value) |
Callback for the ParameterUnsignedInt event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaWinCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win) |
Callback for the RmaWinCreate event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaWinDestroy) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win) |
Callback for the RmaWinDestroy event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaCollectiveBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList) |
Callback for the RmaCollectiveBegin event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaCollectiveEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, uint32_t root, uint64_t bytesSent, uint64_t bytesReceived) |
Callback for the RmaCollectiveEnd event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaGroupSync) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group) |
Callback for the RmaGroupSync event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaRequestLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType) |
Callback for the RmaRequestLock event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType) |
Callback for the RmaAcquireLock event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaTryLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType) |
Callback for the RmaTryLock event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId) |
Callback for the RmaReleaseLock event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaSync) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType) |
Callback for the RmaSync event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaWaitChange) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win) |
Callback for the RmaWaitChange event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaPut) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId) |
Callback for the RmaPut event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaGet) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId) |
Callback for the RmaGet event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaAtomic) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaAtomicType type, uint64_t bytesSent, uint64_t bytesReceived, uint64_t matchingId) |
Callback for the RmaAtomic event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaOpCompleteBlocking) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId) |
Callback for the RmaOpCompleteBlocking event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaOpCompleteNonBlocking) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId) |
Callback for the RmaOpCompleteNonBlocking event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaOpTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId) |
Callback for the RmaOpTest event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_RmaOpCompleteRemote) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId) |
Callback for the RmaOpCompleteRemote event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadFork) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t numberOfRequestedThreads) |
Callback for the ThreadFork event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadJoin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model) |
Callback for the ThreadJoin event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadTeamBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam) |
Callback for the ThreadTeamBegin event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadTeamEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam) |
Callback for the ThreadTeamEnd event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder) |
Callback for the ThreadAcquireLock event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder) |
Callback for the ThreadReleaseLock event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadTaskCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber) |
Callback for the ThreadTaskCreate event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadTaskSwitch) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber) |
Callback for the ThreadTaskSwitch event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadTaskComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber) |
Callback for the ThreadTaskComplete event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount) |
Callback for the ThreadCreate event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount) |
Callback for the ThreadBegin event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadWait) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount) |
Callback for the ThreadWait event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_ThreadEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount) |
Callback for the ThreadEnd event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_CallingContextEnter) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance) |
Callback for the CallingContextEnter event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_CallingContextLeave) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext) |
Callback for the CallingContextLeave event record. More... | |
typedef OTF2_CallbackCode(* | OTF2_GlobalEvtReaderCallback_CallingContextSample) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator) |
Callback for the CallingContextSample event record. More... | |
This defines the callbacks for the global event reader.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_Unknown) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList) |
Callback for an unknown event record.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_BufferFlush) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_TimeStamp stopTime) |
Callback for the BufferFlush event record.
This event signals that the internal buffer was flushed at the given time.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
stopTime | The time the buffer flush finished. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MeasurementOnOff) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_MeasurementMode measurementMode) |
Callback for the MeasurementOnOff event record.
This event signals where the measurement system turned measurement on or off.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
measurementMode | Is the measurement turned on (OTF2_MEASUREMENT_ON) or off (OTF2_MEASUREMENT_OFF)? |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_Enter) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region) |
Callback for the Enter event record.
An enter record indicates that the program enters a code region.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
region | Needs to be defined in a definition record References a Region definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_REGION is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_Leave) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region) |
Callback for the Leave event record.
A leave record indicates that the program leaves a code region.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
region | Needs to be defined in a definition record References a Region definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_REGION is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiSend) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength) |
Callback for the MpiSend event record.
A MpiSend record indicates that a MPI message send process was initiated (MPI_SEND). It keeps the necessary information for this event: receiver of the message, communicator, and the message tag. You can optionally add further information like the message length (size of the send buffer).
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
receiver | MPI rank of receiver in communicator . |
communicator | Communicator ID. References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
msgTag | Message tag |
msgLength | Message length |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiIsend) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID) |
Callback for the MpiIsend event record.
A MpiIsend record indicates that a MPI message send process was initiated (MPI_ISEND). It keeps the necessary information for this event: receiver of the message, communicator, and the message tag. You can optionally add further information like the message length (size of the send buffer).
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
receiver | MPI rank of receiver in communicator . |
communicator | Communicator ID. References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
msgTag | Message tag |
msgLength | Message length |
requestID | ID of the related request |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiIsendComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID) |
Callback for the MpiIsendComplete event record.
Signals the completion of non-blocking send request.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
requestID | ID of the related request |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiIrecvRequest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID) |
Callback for the MpiIrecvRequest event record.
Signals the request of a receive, which can be completed later.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
requestID | ID of the requested receive |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiRecv) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength) |
Callback for the MpiRecv event record.
A MpiRecv record indicates that a MPI message was received (MPI_RECV). It keeps the necessary information for this event: sender of the message, communicator, and the message tag. You can optionally add further information like the message length (size of the receive buffer).
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
sender | MPI rank of sender in communicator . |
communicator | Communicator ID. References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
msgTag | Message tag |
msgLength | Message length |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiIrecv) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID) |
Callback for the MpiIrecv event record.
A MpiIrecv record indicates that a MPI message was received (MPI_IRECV). It keeps the necessary information for this event: sender of the message, communicator, and the message tag. You can optionally add further information like the message length (size of the receive buffer).
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
sender | MPI rank of sender in communicator . |
communicator | Communicator ID. References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
msgTag | Message tag |
msgLength | Message length |
requestID | ID of the related request |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiRequestTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID) |
Callback for the MpiRequestTest event record.
This events appears if the program tests if a request has already completed but the test failed.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
requestID | ID of the related request |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiRequestCancelled) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID) |
Callback for the MpiRequestCancelled event record.
This events appears if the program canceled a request.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
requestID | ID of the related request |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiCollectiveBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList) |
Callback for the MpiCollectiveBegin event record.
A MpiCollectiveBegin record marks the begin of a MPI collective operation (MPI_GATHER, MPI_SCATTER etc.).
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiCollectiveEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived) |
Callback for the MpiCollectiveEnd event record.
A MpiCollectiveEnd record marks the end of a MPI collective operation (MPI_GATHER, MPI_SCATTER etc.). It keeps the necessary information for this event: type of collective operation, communicator, the root of this collective operation. You can optionally add further information like sent and received bytes.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
collectiveOp | Determines which collective operation it is. |
communicator | Communicator References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
root | MPI rank of root in communicator . |
sizeSent | Size of the sent message. |
sizeReceived | Size of the received message. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpFork) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t numberOfRequestedThreads) |
Callback for the OmpFork event record.
An OmpFork record marks that an OpenMP Thread forks a thread team.
This event record is superseded by the ThreadFork event record and should not be used when the ThreadFork event record is in use.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
numberOfRequestedThreads | Requested size of the team. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpJoin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList) |
Callback for the OmpJoin event record.
An OmpJoin record marks that a team of threads is joint and only the master thread continues execution.
This event record is superseded by the ThreadJoin event record and should not be used when the ThreadJoin event record is in use.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder) |
Callback for the OmpAcquireLock event record.
An OmpAcquireLock record marks that a thread acquires an OpenMP lock.
This event record is superseded by the ThreadAcquireLock event record and should not be used when the ThreadAcquireLock event record is in use.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
lockID | ID of the lock. |
acquisitionOrder | A monotonically increasing number to determine the order of lock acquisitions (with unsynchronized clocks this is otherwise not possible). Corresponding acquire-release events have same number. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder) |
Callback for the OmpReleaseLock event record.
An OmpReleaseLock record marks that a thread releases an OpenMP lock.
This event record is superseded by the ThreadReleaseLock event record and should not be used when the ThreadReleaseLock event record is in use.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
lockID | ID of the lock. |
acquisitionOrder | A monotonically increasing number to determine the order of lock acquisitions (with unsynchronized clocks this is otherwise not possible). Corresponding acquire-release events have same number. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpTaskCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID) |
Callback for the OmpTaskCreate event record.
An OmpTaskCreate record marks that an OpenMP Task was/will be created in the current region.
This event record is superseded by the ThreadTaskCreate event record and should not be used when the ThreadTaskCreate event record is in use.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
taskID | Identifier of the newly created task instance. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpTaskSwitch) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID) |
Callback for the OmpTaskSwitch event record.
An OmpTaskSwitch record indicates that the execution of the current task will be suspended and another task starts/restarts its execution. Please note that this may change the current call stack of the executing location.
This event record is superseded by the ThreadTaskSwitch event record and should not be used when the ThreadTaskSwitch event record is in use.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
taskID | Identifier of the now active task instance. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpTaskComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID) |
Callback for the OmpTaskComplete event record.
An OmpTaskComplete record indicates that the execution of an OpenMP task has finished.
This event record is superseded by the ThreadTaskComplete event record and should not be used when the ThreadTaskComplete event record is in use.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
taskID | Identifier of the completed task instance. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_Metric) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_MetricRef metric, uint8_t numberOfMetrics, const OTF2_Type *typeIDs, const OTF2_MetricValue *metricValues) |
Callback for the Metric event record.
A metric event is always stored at the location that recorded the metric. A metric event can reference a metric class or metric instance. Therefore, metric classes and instances share same ID space. Synchronous metrics are always located right before the according enter and leave event.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
metric | Could be a metric class or a metric instance. References a MetricClass, or a MetricInstance definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_METRIC is available. |
numberOfMetrics | Number of metrics with in the set. |
typeIDs | List of metric types. These types must match that of the corresponding MetricMember definitions. |
metricValues | List of metric values. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ParameterString) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, OTF2_StringRef string) |
Callback for the ParameterString event record.
A ParameterString record marks that in the current region, the specified string parameter has the specified value.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
parameter | Parameter ID. References a Parameter definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_PARAMETER is available. |
string | Value: Handle of a string definition References a String definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_STRING is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ParameterInt) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, int64_t value) |
Callback for the ParameterInt event record.
A ParameterInt record marks that in the current region, the specified integer parameter has the specified value.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
parameter | Parameter ID. References a Parameter definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_PARAMETER is available. |
value | Value of the recorded parameter. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ParameterUnsignedInt) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, uint64_t value) |
Callback for the ParameterUnsignedInt event record.
A ParameterUnsignedInt record marks that in the current region, the specified unsigned integer parameter has the specified value.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
parameter | Parameter ID. References a Parameter definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_PARAMETER is available. |
value | Value of the recorded parameter. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaWinCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win) |
Callback for the RmaWinCreate event record.
A RmaWinCreate record denotes the creation of a RMA window.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window created. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaWinDestroy) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win) |
Callback for the RmaWinDestroy event record.
A RmaWinDestroy record denotes the destruction of a RMA window.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window destructed. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaCollectiveBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList) |
Callback for the RmaCollectiveBegin event record.
A RmaCollectiveBegin record denotes the beginning of a collective RMA operation.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaCollectiveEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, uint32_t root, uint64_t bytesSent, uint64_t bytesReceived) |
Callback for the RmaCollectiveEnd event record.
A RmaCollectiveEnd record denotes the end of a collective RMA operation.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
collectiveOp | Determines which collective operation it is. |
syncLevel | Synchronization level of this collective operation. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
root | Root process for this operation. |
bytesSent | Bytes sent in operation. |
bytesReceived | Bytes receives in operation. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaGroupSync) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group) |
Callback for the RmaGroupSync event record.
A RmaGroupSync record denotes the synchronization with a subgroup of processes on a window.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
syncLevel | Synchronization level of this collective operation. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
group | Group of remote processes involved in synchronization. References a Group definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_GROUP is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaRequestLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType) |
Callback for the RmaRequestLock event record.
A RmaRequestLock record denotes the time a lock was requested and with it the earliest time it could have been granted. It is used to mark (possibly) non-blocking lock request, as defined by the MPI standard.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
remote | Rank of the locked remote process. |
lockId | ID of the lock acquired, if multiple locks are defined on a window. |
lockType | Type of lock acquired. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType) |
Callback for the RmaAcquireLock event record.
A RmaAcquireLock record denotes the time a lock was acquired by the process.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
remote | Rank of the locked remote process. |
lockId | ID of the lock acquired, if multiple locks are defined on a window. |
lockType | Type of lock acquired. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaTryLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType) |
Callback for the RmaTryLock event record.
A RmaTryLock record denotes the time of an unsuccessful attempt to acquire the lock.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
remote | Rank of the locked remote process. |
lockId | ID of the lock acquired, if multiple locks are defined on a window. |
lockType | Type of lock acquired. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId) |
Callback for the RmaReleaseLock event record.
A RmaReleaseLock record denotes the time the lock was released.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
remote | Rank of the locked remote process. |
lockId | ID of the lock released, if multiple locks are defined on a window. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaSync) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType) |
Callback for the RmaSync event record.
A RmaSync record denotes the direct synchronization with a possibly remote process.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
remote | Rank of the locked remote process. |
syncType | Type of synchronization. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaWaitChange) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win) |
Callback for the RmaWaitChange event record.
A RmaWaitChange record denotes the change of a window that was waited for.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaPut) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId) |
Callback for the RmaPut event record.
A RmaPut record denotes the time a put operation was issued.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
remote | Rank of the target process. |
bytes | Bytes sent to target. |
matchingId | ID used for matching the corresponding completion record. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaGet) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId) |
Callback for the RmaGet event record.
A RmaGet record denotes the time a get operation was issued.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
remote | Rank of the target process. |
bytes | Bytes received from target. |
matchingId | ID used for matching the corresponding completion record. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaAtomic) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaAtomicType type, uint64_t bytesSent, uint64_t bytesReceived, uint64_t matchingId) |
Callback for the RmaAtomic event record.
A RmaAtomic record denotes the time a atomic operation was issued.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
remote | Rank of the target process. |
type | Type of atomic operation. |
bytesSent | Bytes sent to target. |
bytesReceived | Bytes received from target. |
matchingId | ID used for matching the corresponding completion record. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaOpCompleteBlocking) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId) |
Callback for the RmaOpCompleteBlocking event record.
A RmaOpCompleteBlocking record denotes the local completion of a blocking RMA operation.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
matchingId | ID used for matching the corresponding RMA operation record. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaOpCompleteNonBlocking) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId) |
Callback for the RmaOpCompleteNonBlocking event record.
A RmaOpCompleteNonBlocking record denotes the local completion of a non-blocking RMA operation.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
matchingId | ID used for matching the corresponding RMA operation record. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaOpTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId) |
Callback for the RmaOpTest event record.
A RmaOpTest record denotes that a non-blocking RMA operation has been tested for completion unsuccessfully.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
matchingId | ID used for matching the corresponding RMA operation record. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaOpCompleteRemote) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId) |
Callback for the RmaOpCompleteRemote event record.
A RmaOpCompleteRemote record denotes the remote completion of a RMA operation.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
win | ID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available. |
matchingId | ID used for matching the corresponding RMA operation record. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadFork) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t numberOfRequestedThreads) |
Callback for the ThreadFork event record.
A ThreadFork record marks that a thread forks a thread team.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
model | The threading paradigm this event took place. |
numberOfRequestedThreads | Requested size of the team. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadJoin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model) |
Callback for the ThreadJoin event record.
A ThreadJoin record marks that a team of threads is joint and only the master thread continues execution.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
model | The threading paradigm this event took place. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTeamBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam) |
Callback for the ThreadTeamBegin event record.
The current location enters the specified thread team.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadTeam | Thread team References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTeamEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam) |
Callback for the ThreadTeamEnd event record.
The current location leaves the specified thread team.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadTeam | Thread team References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder) |
Callback for the ThreadAcquireLock event record.
A ThreadAcquireLock record marks that a thread acquires a lock.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
model | The threading paradigm this event took place. |
lockID | ID of the lock. |
acquisitionOrder | A monotonically increasing number to determine the order of lock acquisitions (with unsynchronized clocks this is otherwise not possible). Corresponding acquire-release events have same number. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder) |
Callback for the ThreadReleaseLock event record.
A ThreadReleaseLock record marks that a thread releases a lock.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
model | The threading paradigm this event took place. |
lockID | ID of the lock. |
acquisitionOrder | A monotonically increasing number to determine the order of lock acquisitions (with unsynchronized clocks this is otherwise not possible). Corresponding acquire-release events have same number. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTaskCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber) |
Callback for the ThreadTaskCreate event record.
A ThreadTaskCreate record marks that a task in was/will be created and will be processed by the specified thread team.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadTeam | Thread team References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
creatingThread | Creating thread of this task. |
generationNumber | Thread-private generation number of task's creating thread. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTaskSwitch) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber) |
Callback for the ThreadTaskSwitch event record.
A ThreadTaskSwitch record indicates that the execution of the current task will be suspended and another task starts/restarts its execution. Please note that this may change the current call stack of the executing location.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadTeam | Thread team References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
creatingThread | Creating thread of this task. |
generationNumber | Thread-private generation number of task's creating thread. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTaskComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber) |
Callback for the ThreadTaskComplete event record.
A ThreadTaskComplete record indicates that the execution of an OpenMP task has finished.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadTeam | Thread team References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
creatingThread | Creating thread of this task. |
generationNumber | Thread-private generation number of task's creating thread. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount) |
Callback for the ThreadCreate event record.
The location created successfully a new thread.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadContingent | The thread contingent. References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
sequenceCount | A threadContingent unique number. The corresponding ThreadBegin event does have the same number. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount) |
Callback for the ThreadBegin event record.
Marks the begin of a thread created by another thread.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadContingent | The thread contingent. References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
sequenceCount | A threadContingent unique number. The corresponding ThreadCreate event does have the same number. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadWait) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount) |
Callback for the ThreadWait event record.
The location waits for the completion of another thread.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadContingent | The thread contingent. References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
sequenceCount | A threadContingent unique number. The corresponding ThreadEnd event does have the same number. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount) |
Callback for the ThreadEnd event record.
Marks the end of a thread.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
threadContingent | The thread contingent. References a Comm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available. |
sequenceCount | A threadContingent unique number. The corresponding ThreadWait event does have the same number. OTF2_UNDEFINED_UINT64 in case no corresponding ThreadWait event exists. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_CallingContextEnter) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance) |
Callback for the CallingContextEnter event record.
The thread entered an instrumented region, represented by the referenced CallingContext. In contrast to the Enter event, it gives the full calling context through the CallingContext tree.
Events based on the CallingContext definition are mutually exclusive with the Enter/Leave events in a trace.
If no callback for this event is set but a callback for Enter events is defined, the reader will automatically generate an Enter callback call for the Region referenced by the CallingContext attribute of this event. Note that this emulation does not re-create the full calling context! It only re-creates the event order for instrumented regions.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
callingContext | The entered region as referenced by the CallingContext definition. References a CallingContext definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_CALLING_CONTEXT is available. |
unwindDistance | The unwindDistance for this callingContext . See the description in CallingContext. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_CallingContextLeave) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext) |
Callback for the CallingContextLeave event record.
The thread left an instrumented region, represented by the referenced CallingContext. In contrast to the Leave event, it gives the full calling context through the CallingContext tree.
The unwind distance for this CallingContext is defined to be 1. Because it must be assumed that the instrumented region made progress since the previous CallingContext event.
Events based on the CallingContext definition are mutually exclusive with the Enter/Leave events in a trace.
The parent of the CallingContext must be used as the previous calling context for the next event.
If no callback for this event is set but a callback for Leave events is defined, the reader will automatically generate an Leave callback call for the Region referenced by the CallingContext attribute of this event. Note that this emulation does not re-create the full calling context! It only re-creates the event order for instrumented regions.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
callingContext | The left region as referenced by the CallingContext definition. References a CallingContext definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_CALLING_CONTEXT is available. |
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_CallingContextSample) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator) |
Callback for the CallingContextSample event record.
The thread was interrupted to take a sample of its current state (region and source code location).
Events based on the CallingContext definition are mutually exclusive with the Enter/Leave events in a trace.
locationID | The location where this event happened. |
time | The time when this event happened. |
userData | User data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks. |
attributeList | Additional attributes for this event. |
callingContext | Describes the calling context of the thread when it was interrupted. References a CallingContext definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_CALLING_CONTEXT is available. |
unwindDistance | The unwindDistance for this callingContext . See the description in CallingContext. |
interruptGenerator | References a InterruptGenerator definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_INTERRUPT_GENERATOR is available. |
OTF2_GlobalEvtReaderCallbacks* OTF2_GlobalEvtReaderCallbacks_New | ( | void | ) |
Allocates a new struct for the event callbacks.
void OTF2_GlobalEvtReaderCallbacks_Delete | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks | ) |
Deallocates a struct for the global event callbacks.
globalEvtReaderCallbacks | Handle to a struct previously allocated with OTF2_GlobalEvtReaderCallbacks_New. |
void OTF2_GlobalEvtReaderCallbacks_Clear | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks | ) |
Clears a struct for the global event callbacks.
globalEvtReaderCallbacks | Handle to a struct previously allocated with OTF2_GlobalEvtReaderCallbacks_New. |
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetUnknownCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_Unknown | unknownCallback | ||
) |
Registers the callback for unknown events.
globalEvtReaderCallbacks | Struct for all callbacks. |
unknownCallback | Function which should be called for all unknown events. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetBufferFlushCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_BufferFlush | bufferFlushCallback | ||
) |
Registers the callback for the BufferFlush event.
globalEvtReaderCallbacks | Struct for all callbacks. |
bufferFlushCallback | Function which should be called for all BufferFlush definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMeasurementOnOffCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MeasurementOnOff | measurementOnOffCallback | ||
) |
Registers the callback for the MeasurementOnOff event.
globalEvtReaderCallbacks | Struct for all callbacks. |
measurementOnOffCallback | Function which should be called for all MeasurementOnOff definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetEnterCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_Enter | enterCallback | ||
) |
Registers the callback for the Enter event.
globalEvtReaderCallbacks | Struct for all callbacks. |
enterCallback | Function which should be called for all Enter definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetLeaveCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_Leave | leaveCallback | ||
) |
Registers the callback for the Leave event.
globalEvtReaderCallbacks | Struct for all callbacks. |
leaveCallback | Function which should be called for all Leave definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiSendCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiSend | mpiSendCallback | ||
) |
Registers the callback for the MpiSend event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiSendCallback | Function which should be called for all MpiSend definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIsendCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiIsend | mpiIsendCallback | ||
) |
Registers the callback for the MpiIsend event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiIsendCallback | Function which should be called for all MpiIsend definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIsendCompleteCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiIsendComplete | mpiIsendCompleteCallback | ||
) |
Registers the callback for the MpiIsendComplete event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiIsendCompleteCallback | Function which should be called for all MpiIsendComplete definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIrecvRequestCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiIrecvRequest | mpiIrecvRequestCallback | ||
) |
Registers the callback for the MpiIrecvRequest event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiIrecvRequestCallback | Function which should be called for all MpiIrecvRequest definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRecvCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiRecv | mpiRecvCallback | ||
) |
Registers the callback for the MpiRecv event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiRecvCallback | Function which should be called for all MpiRecv definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIrecvCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiIrecv | mpiIrecvCallback | ||
) |
Registers the callback for the MpiIrecv event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiIrecvCallback | Function which should be called for all MpiIrecv definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRequestTestCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiRequestTest | mpiRequestTestCallback | ||
) |
Registers the callback for the MpiRequestTest event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiRequestTestCallback | Function which should be called for all MpiRequestTest definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRequestCancelledCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiRequestCancelled | mpiRequestCancelledCallback | ||
) |
Registers the callback for the MpiRequestCancelled event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiRequestCancelledCallback | Function which should be called for all MpiRequestCancelled definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiCollectiveBeginCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiCollectiveBegin | mpiCollectiveBeginCallback | ||
) |
Registers the callback for the MpiCollectiveBegin event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiCollectiveBeginCallback | Function which should be called for all MpiCollectiveBegin definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiCollectiveEndCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_MpiCollectiveEnd | mpiCollectiveEndCallback | ||
) |
Registers the callback for the MpiCollectiveEnd event.
globalEvtReaderCallbacks | Struct for all callbacks. |
mpiCollectiveEndCallback | Function which should be called for all MpiCollectiveEnd definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpForkCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_OmpFork | ompForkCallback | ||
) |
Registers the callback for the OmpFork event.
globalEvtReaderCallbacks | Struct for all callbacks. |
ompForkCallback | Function which should be called for all OmpFork definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpJoinCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_OmpJoin | ompJoinCallback | ||
) |
Registers the callback for the OmpJoin event.
globalEvtReaderCallbacks | Struct for all callbacks. |
ompJoinCallback | Function which should be called for all OmpJoin definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpAcquireLockCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_OmpAcquireLock | ompAcquireLockCallback | ||
) |
Registers the callback for the OmpAcquireLock event.
globalEvtReaderCallbacks | Struct for all callbacks. |
ompAcquireLockCallback | Function which should be called for all OmpAcquireLock definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpReleaseLockCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_OmpReleaseLock | ompReleaseLockCallback | ||
) |
Registers the callback for the OmpReleaseLock event.
globalEvtReaderCallbacks | Struct for all callbacks. |
ompReleaseLockCallback | Function which should be called for all OmpReleaseLock definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskCreateCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_OmpTaskCreate | ompTaskCreateCallback | ||
) |
Registers the callback for the OmpTaskCreate event.
globalEvtReaderCallbacks | Struct for all callbacks. |
ompTaskCreateCallback | Function which should be called for all OmpTaskCreate definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskSwitchCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_OmpTaskSwitch | ompTaskSwitchCallback | ||
) |
Registers the callback for the OmpTaskSwitch event.
globalEvtReaderCallbacks | Struct for all callbacks. |
ompTaskSwitchCallback | Function which should be called for all OmpTaskSwitch definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskCompleteCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_OmpTaskComplete | ompTaskCompleteCallback | ||
) |
Registers the callback for the OmpTaskComplete event.
globalEvtReaderCallbacks | Struct for all callbacks. |
ompTaskCompleteCallback | Function which should be called for all OmpTaskComplete definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMetricCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_Metric | metricCallback | ||
) |
Registers the callback for the Metric event.
globalEvtReaderCallbacks | Struct for all callbacks. |
metricCallback | Function which should be called for all Metric definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterStringCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ParameterString | parameterStringCallback | ||
) |
Registers the callback for the ParameterString event.
globalEvtReaderCallbacks | Struct for all callbacks. |
parameterStringCallback | Function which should be called for all ParameterString definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterIntCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ParameterInt | parameterIntCallback | ||
) |
Registers the callback for the ParameterInt event.
globalEvtReaderCallbacks | Struct for all callbacks. |
parameterIntCallback | Function which should be called for all ParameterInt definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterUnsignedIntCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ParameterUnsignedInt | parameterUnsignedIntCallback | ||
) |
Registers the callback for the ParameterUnsignedInt event.
globalEvtReaderCallbacks | Struct for all callbacks. |
parameterUnsignedIntCallback | Function which should be called for all ParameterUnsignedInt definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWinCreateCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaWinCreate | rmaWinCreateCallback | ||
) |
Registers the callback for the RmaWinCreate event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaWinCreateCallback | Function which should be called for all RmaWinCreate definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWinDestroyCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaWinDestroy | rmaWinDestroyCallback | ||
) |
Registers the callback for the RmaWinDestroy event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaWinDestroyCallback | Function which should be called for all RmaWinDestroy definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaCollectiveBeginCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaCollectiveBegin | rmaCollectiveBeginCallback | ||
) |
Registers the callback for the RmaCollectiveBegin event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaCollectiveBeginCallback | Function which should be called for all RmaCollectiveBegin definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaCollectiveEndCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaCollectiveEnd | rmaCollectiveEndCallback | ||
) |
Registers the callback for the RmaCollectiveEnd event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaCollectiveEndCallback | Function which should be called for all RmaCollectiveEnd definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaGroupSyncCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaGroupSync | rmaGroupSyncCallback | ||
) |
Registers the callback for the RmaGroupSync event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaGroupSyncCallback | Function which should be called for all RmaGroupSync definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaRequestLockCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaRequestLock | rmaRequestLockCallback | ||
) |
Registers the callback for the RmaRequestLock event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaRequestLockCallback | Function which should be called for all RmaRequestLock definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaAcquireLockCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaAcquireLock | rmaAcquireLockCallback | ||
) |
Registers the callback for the RmaAcquireLock event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaAcquireLockCallback | Function which should be called for all RmaAcquireLock definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaTryLockCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaTryLock | rmaTryLockCallback | ||
) |
Registers the callback for the RmaTryLock event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaTryLockCallback | Function which should be called for all RmaTryLock definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaReleaseLockCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaReleaseLock | rmaReleaseLockCallback | ||
) |
Registers the callback for the RmaReleaseLock event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaReleaseLockCallback | Function which should be called for all RmaReleaseLock definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaSyncCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaSync | rmaSyncCallback | ||
) |
Registers the callback for the RmaSync event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaSyncCallback | Function which should be called for all RmaSync definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWaitChangeCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaWaitChange | rmaWaitChangeCallback | ||
) |
Registers the callback for the RmaWaitChange event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaWaitChangeCallback | Function which should be called for all RmaWaitChange definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaPutCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaPut | rmaPutCallback | ||
) |
Registers the callback for the RmaPut event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaPutCallback | Function which should be called for all RmaPut definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaGetCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaGet | rmaGetCallback | ||
) |
Registers the callback for the RmaGet event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaGetCallback | Function which should be called for all RmaGet definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaAtomicCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaAtomic | rmaAtomicCallback | ||
) |
Registers the callback for the RmaAtomic event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaAtomicCallback | Function which should be called for all RmaAtomic definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteBlockingCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaOpCompleteBlocking | rmaOpCompleteBlockingCallback | ||
) |
Registers the callback for the RmaOpCompleteBlocking event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaOpCompleteBlockingCallback | Function which should be called for all RmaOpCompleteBlocking definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteNonBlockingCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaOpCompleteNonBlocking | rmaOpCompleteNonBlockingCallback | ||
) |
Registers the callback for the RmaOpCompleteNonBlocking event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaOpCompleteNonBlockingCallback | Function which should be called for all RmaOpCompleteNonBlocking definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpTestCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaOpTest | rmaOpTestCallback | ||
) |
Registers the callback for the RmaOpTest event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaOpTestCallback | Function which should be called for all RmaOpTest definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteRemoteCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_RmaOpCompleteRemote | rmaOpCompleteRemoteCallback | ||
) |
Registers the callback for the RmaOpCompleteRemote event.
globalEvtReaderCallbacks | Struct for all callbacks. |
rmaOpCompleteRemoteCallback | Function which should be called for all RmaOpCompleteRemote definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadForkCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadFork | threadForkCallback | ||
) |
Registers the callback for the ThreadFork event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadForkCallback | Function which should be called for all ThreadFork definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadJoinCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadJoin | threadJoinCallback | ||
) |
Registers the callback for the ThreadJoin event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadJoinCallback | Function which should be called for all ThreadJoin definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTeamBeginCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadTeamBegin | threadTeamBeginCallback | ||
) |
Registers the callback for the ThreadTeamBegin event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadTeamBeginCallback | Function which should be called for all ThreadTeamBegin definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTeamEndCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadTeamEnd | threadTeamEndCallback | ||
) |
Registers the callback for the ThreadTeamEnd event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadTeamEndCallback | Function which should be called for all ThreadTeamEnd definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadAcquireLockCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadAcquireLock | threadAcquireLockCallback | ||
) |
Registers the callback for the ThreadAcquireLock event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadAcquireLockCallback | Function which should be called for all ThreadAcquireLock definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadReleaseLockCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadReleaseLock | threadReleaseLockCallback | ||
) |
Registers the callback for the ThreadReleaseLock event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadReleaseLockCallback | Function which should be called for all ThreadReleaseLock definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskCreateCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadTaskCreate | threadTaskCreateCallback | ||
) |
Registers the callback for the ThreadTaskCreate event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadTaskCreateCallback | Function which should be called for all ThreadTaskCreate definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskSwitchCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadTaskSwitch | threadTaskSwitchCallback | ||
) |
Registers the callback for the ThreadTaskSwitch event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadTaskSwitchCallback | Function which should be called for all ThreadTaskSwitch definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskCompleteCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadTaskComplete | threadTaskCompleteCallback | ||
) |
Registers the callback for the ThreadTaskComplete event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadTaskCompleteCallback | Function which should be called for all ThreadTaskComplete definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadCreateCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadCreate | threadCreateCallback | ||
) |
Registers the callback for the ThreadCreate event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadCreateCallback | Function which should be called for all ThreadCreate definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadBeginCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadBegin | threadBeginCallback | ||
) |
Registers the callback for the ThreadBegin event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadBeginCallback | Function which should be called for all ThreadBegin definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadWaitCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadWait | threadWaitCallback | ||
) |
Registers the callback for the ThreadWait event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadWaitCallback | Function which should be called for all ThreadWait definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadEndCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_ThreadEnd | threadEndCallback | ||
) |
Registers the callback for the ThreadEnd event.
globalEvtReaderCallbacks | Struct for all callbacks. |
threadEndCallback | Function which should be called for all ThreadEnd definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextEnterCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_CallingContextEnter | callingContextEnterCallback | ||
) |
Registers the callback for the CallingContextEnter event.
globalEvtReaderCallbacks | Struct for all callbacks. |
callingContextEnterCallback | Function which should be called for all CallingContextEnter definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextLeaveCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_CallingContextLeave | callingContextLeaveCallback | ||
) |
Registers the callback for the CallingContextLeave event.
globalEvtReaderCallbacks | Struct for all callbacks. |
callingContextLeaveCallback | Function which should be called for all CallingContextLeave definitions. |
defReaderCallbacks
argument OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextSampleCallback | ( | OTF2_GlobalEvtReaderCallbacks * | globalEvtReaderCallbacks, |
OTF2_GlobalEvtReaderCallback_CallingContextSample | callingContextSampleCallback | ||
) |
Registers the callback for the CallingContextSample event.
globalEvtReaderCallbacks | Struct for all callbacks. |
callingContextSampleCallback | Function which should be called for all CallingContextSample definitions. |
defReaderCallbacks
argument