13 #ifndef OTF2_SNAP_READER_H
14 #define OTF2_SNAP_READER_H
116 uint64_t recordsToRead,
117 uint64_t* recordsRead );
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:142
Enums and types used in event records.
This layer enables dynamic appending of arbitrary attributes to any type of event record...
OTF2_ErrorCode OTF2_SnapReader_ReadSnapshots(OTF2_SnapReader *reader, uint64_t recordsToRead, uint64_t *recordsRead)
After callback registration, the local snapshot events could be read with the following function...
This defines the callbacks for the snap reader.
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:53
Data types used in the definition records.
struct OTF2_SnapReader_struct OTF2_SnapReader
OTF2 local snap reader handle.
Definition: OTF2_GeneralDefinitions.h:263
OTF2_ErrorCode OTF2_SnapReader_Seek(OTF2_SnapReader *reader, uint64_t req_time, bool *found)
Seek jumps to start of latest snapshot that was made before a given time 'req_time'.
struct OTF2_SnapReaderCallbacks_struct OTF2_SnapReaderCallbacks
Opaque struct which holds all snap event record callbacks.
Definition: OTF2_SnapReaderCallbacks.h:45
OTF2_ErrorCode OTF2_SnapReader_GetLocationID(const OTF2_SnapReader *reader, OTF2_LocationRef *location)
Return the location ID of the reading related location.
Error codes and error handling.
OTF2_ErrorCode OTF2_SnapReader_SetCallbacks(OTF2_SnapReader *reader, const OTF2_SnapReaderCallbacks *callbacks, void *userData)
Sets the callback functions for the given reader object. Every time when OTF2 reads a record...