OpenMPI
0.1.1
|
This interface provides functions for writing trace at stream level. More...
Files | |
file | OTF_WStream.h |
Provides write access to trace streams, which consist of multiple buffers. | |
Typedefs | |
typedef struct struct_OTF_WStream | OTF_WStream |
wstream object | |
Functions | |
int | OTF_WStream_writeDefMarkerKV (OTF_WStream *wstream, uint32_t token, const char *name, uint32_t type, OTF_KeyValueList *list) |
Write a def marker record to stream 'wstream'. More... | |
int | OTF_WStream_writeMarkerKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t token, const char *text, OTF_KeyValueList *list) |
Write a marker record to stream 'wstream'. More... | |
OTF_WStream * | OTF_WStream_open (const char *namestub, uint32_t id, OTF_FileManager *manager) |
Create a new OTF_WStream instance. More... | |
int | OTF_WStream_close (OTF_WStream *wstream) |
Close an OTF_WStream instance and all its related files. More... | |
int | OTF_WStream_flush (OTF_WStream *wstream) |
Flush an OTF_WStream instance, i.e. More... | |
OTF_WBuffer * | OTF_WStream_getDefBuffer (OTF_WStream *wstream) |
Returns the definition buffer of the according writer stream. More... | |
OTF_WBuffer * | OTF_WStream_getEventBuffer (OTF_WStream *wstream) |
Returns the event buffer of the according writer stream. More... | |
OTF_WBuffer * | OTF_WStream_getSnapshotBuffer (OTF_WStream *wstream) |
Returns the snapshots buffer of the according writer stream. More... | |
OTF_WBuffer * | OTF_WStream_getStatsBuffer (OTF_WStream *wstream) |
Returns the statistics buffer of the according writer stream. More... | |
OTF_WBuffer * | OTF_WStream_getMarkerBuffer (OTF_WStream *wstream) |
Returns the marker buffer of the according writer stream. More... | |
int | OTF_WStream_setCompression (OTF_WStream *wstream, OTF_FileCompression compression) |
Set the standard compression method for all buffers managed by this writer stream. More... | |
OTF_FileCompression | OTF_WStream_getCompression (OTF_WStream *wstream) |
Return the standard compression method for all buffers managed by this writer stream. More... | |
void | OTF_WStream_setBufferSizes (OTF_WStream *wstream, uint32_t size) |
Set the default buffer size for all buffers managed by this writer stream. More... | |
uint32_t | OTF_WStream_getBufferSizes (OTF_WStream *wstream) |
Get the default buffer size for all buffers managed by this writer stream. More... | |
void | OTF_WStream_setZBufferSizes (OTF_WStream *wstream, uint32_t size) |
Set the default zbuffer size for all files managed by this writer stream. More... | |
uint32_t | OTF_WStream_getZBufferSizes (OTF_WStream *wstream) |
Get the default zbuffer size for all files managed by this writer stream. More... | |
void | OTF_WStream_setFormat (OTF_WStream *wstream, uint32_t format) |
Set the default ouput format. More... | |
uint32_t | OTF_WStream_getFormat (OTF_WStream *wstream) |
Get the default output format. More... | |
int | OTF_WStream_writeDefinitionComment (OTF_WStream *wstream, const char *comment) |
Write a DEFINITIONCOMMENT record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefinitionCommentKV (OTF_WStream *wstream, const char *comment, OTF_KeyValueList *list) |
Write a DEFINITIONCOMMENT record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefTimerResolution (OTF_WStream *wstream, uint64_t ticksPerSecond) |
Write a DEFTIMERRESOLUTION record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefTimerResolutionKV (OTF_WStream *wstream, uint64_t ticksPerSecond, OTF_KeyValueList *list) |
Write a DEFTIMERRESOLUTION record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefProcess (OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t parent) |
Write a DEFPROCESS record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefProcessKV (OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t parent, OTF_KeyValueList *list) |
Write a DEFPROCESS record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefProcessGroup (OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t n, const uint32_t *array) |
Write a DEFPROCESSGROUP record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefProcessGroupKV (OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t n, const uint32_t *array, OTF_KeyValueList *list) |
Write a DEFPROCESSGROUP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefAttributeList (OTF_WStream *wstream, uint32_t attr_token, uint32_t num, OTF_ATTR_TYPE *array) |
Write a DEFATTRLIST record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefAttributeListKV (OTF_WStream *wstream, uint32_t attr_token, uint32_t num, OTF_ATTR_TYPE *array, OTF_KeyValueList *list) |
Write a DEFATTRLIST record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefProcessOrGroupAttributes (OTF_WStream *wstream, uint32_t proc_token, uint32_t attr_token) |
Write a DEFPROCESSORGROUPATTR record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefProcessOrGroupAttributesKV (OTF_WStream *wstream, uint32_t proc_token, uint32_t attr_token, OTF_KeyValueList *list) |
Write a DEFPROCESSORGROUPATTR record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefFunction (OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t group, uint32_t scltoken) |
Write a DEFFUNCTION record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefFunctionKV (OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t group, uint32_t scltoken, OTF_KeyValueList *list) |
Write a DEFFUNCTION record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefFunctionGroup (OTF_WStream *wstream, uint32_t deftoken, const char *name) |
Write a DEFFUNCTIONGROUP record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefFunctionGroupKV (OTF_WStream *wstream, uint32_t deftoken, const char *name, OTF_KeyValueList *list) |
Write a DEFFUNCTIONGROUP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCollectiveOperation (OTF_WStream *wstream, uint32_t collOp, const char *name, uint32_t type) |
Write a DEFCOLLECTIVEOPERATION record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCollectiveOperationKV (OTF_WStream *wstream, uint32_t collOp, const char *name, uint32_t type, OTF_KeyValueList *list) |
Write a DEFCOLLECTIVEOPERATION record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCounter (OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t properties, uint32_t countergroup, const char *unit) |
Write a DEFCOUNTER record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCounterKV (OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t properties, uint32_t countergroup, const char *unit, OTF_KeyValueList *list) |
Write a DEFCOUNTER record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCounterGroup (OTF_WStream *wstream, uint32_t deftoken, const char *name) |
Write a DEFCOUNTERGROUP record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCounterGroupKV (OTF_WStream *wstream, uint32_t deftoken, const char *name, OTF_KeyValueList *list) |
Write a DEFCOUNTERGROUP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefScl (OTF_WStream *wstream, uint32_t deftoken, uint32_t sclfile, uint32_t sclline) |
Write a DEFSCL record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefSclKV (OTF_WStream *wstream, uint32_t deftoken, uint32_t sclfile, uint32_t sclline, OTF_KeyValueList *list) |
Write a DEFSCL record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefSclFile (OTF_WStream *wstream, uint32_t deftoken, const char *filename) |
Write a DEFSCLFILE record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefSclFileKV (OTF_WStream *wstream, uint32_t deftoken, const char *filename, OTF_KeyValueList *list) |
Write a DEFSCLFILE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCreator (OTF_WStream *wstream, const char *creator) |
Write a DEFCREATOR record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCreatorKV (OTF_WStream *wstream, const char *creator, OTF_KeyValueList *list) |
Write a DEFCREATOR record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeOtfVersion (OTF_WStream *wstream) |
Write a DEFVERSION record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefFile (OTF_WStream *wstream, uint32_t token, const char *name, uint32_t group) |
Write a DEFFILE record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefFileKV (OTF_WStream *wstream, uint32_t token, const char *name, uint32_t group, OTF_KeyValueList *list) |
Write a DEFFILE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefFileGroup (OTF_WStream *wstream, uint32_t token, const char *name) |
Write a DEFFILEGROUP record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefFileGroupKV (OTF_WStream *wstream, uint32_t token, const char *name, OTF_KeyValueList *list) |
Write a DEFFILEGROUP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefKeyValue (OTF_WStream *wstream, uint32_t key, OTF_Type type, const char *name, const char *description) |
Write a DEFKEYVALUE record to stream 'wstream'. More... | |
int | OTF_WStream_writeDefKeyValueKV (OTF_WStream *wstream, uint32_t key, OTF_Type type, const char *name, const char *description, OTF_KeyValueList *list) |
Write a DEFKEYVALUE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefTimeRange (OTF_WStream *wstream, uint64_t minTime, uint64_t maxTime, OTF_KeyValueList *list) |
Write a DEFTIMERANGE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefCounterAssignments (OTF_WStream *wstream, uint32_t counter_token, uint32_t number_of_members, const uint32_t *procs_or_groups, OTF_KeyValueList *list) |
Write a DEFCOUNTERASSIGNMENTS record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefProcessSubstitutes (OTF_WStream *wstream, uint32_t representative, uint32_t numberOfProcs, const uint32_t *procs, OTF_KeyValueList *list) |
Write a DEFPROCESSSUBTITUTES record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeNoOpKV (OTF_WStream *wstream, uint64_t time, uint32_t process, OTF_KeyValueList *list) |
Write a NOOP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeEnter (OTF_WStream *wstream, uint64_t time, uint32_t statetoken, uint32_t cpuid, uint32_t scltoken) |
Write a ENTER record to stream 'wstream'. More... | |
int | OTF_WStream_writeEnterKV (OTF_WStream *wstream, uint64_t time, uint32_t statetoken, uint32_t cpuid, uint32_t scltoken, OTF_KeyValueList *list) |
Write a ENTER record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeRecvMsg (OTF_WStream *wstream, uint64_t time, uint32_t receiver, uint32_t sender, uint32_t communicator, uint32_t msgtype, uint32_t msglength, uint32_t scltoken) |
Write a RECEIVE record to stream 'wstream'. More... | |
int | OTF_WStream_writeRecvMsgKV (OTF_WStream *wstream, uint64_t time, uint32_t receiver, uint32_t sender, uint32_t communicator, uint32_t msgtype, uint32_t msglength, uint32_t scltoken, OTF_KeyValueList *list) |
Write a RECEIVE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeSendMsg (OTF_WStream *wstream, uint64_t time, uint32_t sender, uint32_t receiver, uint32_t communicator, uint32_t msgtype, uint32_t msglength, uint32_t scltoken) |
Write a SEND record to stream 'wstream'. More... | |
int | OTF_WStream_writeSendMsgKV (OTF_WStream *wstream, uint64_t time, uint32_t sender, uint32_t receiver, uint32_t communicator, uint32_t msgtype, uint32_t msglength, uint32_t scltoken, OTF_KeyValueList *list) |
Write a SEND record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeLeave (OTF_WStream *wstream, uint64_t time, uint32_t statetoken, uint32_t cpuid, uint32_t scltoken) |
Write a LEAVE record to stream 'wstream'. More... | |
int | OTF_WStream_writeLeaveKV (OTF_WStream *wstream, uint64_t time, uint32_t statetoken, uint32_t cpuid, uint32_t scltoken, OTF_KeyValueList *list) |
Write a LEAVE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeCounter (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t counter_token, uint64_t value) |
Write a COUNTER record to stream 'wstream'. More... | |
int | OTF_WStream_writeCounterKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t counter_token, uint64_t value, OTF_KeyValueList *list) |
Write a COUNTER record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeCollectiveOperation (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t functionToken, uint32_t communicator, uint32_t rootprocess, uint32_t sent, uint32_t received, uint64_t duration, uint32_t scltoken) |
Write a COLLOP record to stream 'wstream'. More... | |
int | OTF_WStream_writeCollectiveOperationKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t functionToken, uint32_t communicator, uint32_t rootprocess, uint32_t sent, uint32_t received, uint64_t duration, uint32_t scltoken, OTF_KeyValueList *list) |
Write a COLLOP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginCollectiveOperation (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t collOp, uint64_t matchingId, uint32_t procGroup, uint32_t rootProc, uint64_t sent, uint64_t received, uint32_t scltoken) |
Write a COLLOPBEGIN record to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginCollectiveOperationKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t collOp, uint64_t matchingId, uint32_t procGroup, uint32_t rootProc, uint64_t sent, uint64_t received, uint32_t scltoken, OTF_KeyValueList *list) |
Write a COLLOPBEGIN record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeEndCollectiveOperation (OTF_WStream *wstream, uint64_t time, uint32_t process, uint64_t matchingId) |
Write a COLLOPEND record to stream 'wstream'. More... | |
int | OTF_WStream_writeEndCollectiveOperationKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint64_t matchingId, OTF_KeyValueList *list) |
Write a COLLOPEND record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeEventComment (OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment) |
Write a #EVTCOMMENT record to stream 'wstream'. More... | |
int | OTF_WStream_writeEventCommentKV (OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment, OTF_KeyValueList *list) |
Write a #EVTCOMMENT record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginProcess (OTF_WStream *wstream, uint64_t time, uint32_t process) |
Write a PROCESSBEGIN record to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginProcessKV (OTF_WStream *wstream, uint64_t time, uint32_t process, OTF_KeyValueList *list) |
Write a PROCESSBEGIN record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeEndProcess (OTF_WStream *wstream, uint64_t time, uint32_t process) |
Write a PROCESSEND record to stream 'wstream'. More... | |
int | OTF_WStream_writeEndProcessKV (OTF_WStream *wstream, uint64_t time, uint32_t process, OTF_KeyValueList *list) |
Write a PROCESSEND record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeFileOperation (OTF_WStream *wstream, uint64_t time, uint32_t fileid, uint32_t process, uint64_t handleid, uint32_t operation, uint64_t bytes, uint64_t duration, uint32_t source) |
Write a FILEOP record to stream 'wstream'. More... | |
int | OTF_WStream_writeFileOperationKV (OTF_WStream *wstream, uint64_t time, uint32_t fileid, uint32_t process, uint64_t handleid, uint32_t operation, uint64_t bytes, uint64_t duration, uint32_t source, OTF_KeyValueList *list) |
Write a FILEOP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginFileOperation (OTF_WStream *wstream, uint64_t time, uint32_t process, uint64_t matchingId, uint32_t scltoken) |
Write a FILEOPBEGIN record to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginFileOperationKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint64_t matchingId, uint32_t scltoken, OTF_KeyValueList *list) |
Write a FILEOPBEGIN record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeEndFileOperation (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t fileid, uint64_t matchingId, uint64_t handleId, uint32_t operation, uint64_t bytes, uint32_t scltoken) |
Write a FILEOPEND record to stream 'wstream'. More... | |
int | OTF_WStream_writeEndFileOperationKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t fileid, uint64_t matchingId, uint64_t handleId, uint32_t operation, uint64_t bytes, uint32_t scltoken, OTF_KeyValueList *list) |
Write a FILEOPEND record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeRMAPut (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator, uint32_t tag, uint64_t bytes, uint32_t scltoken) |
Write a RMAPUT record to stream 'wstream'. More... | |
int | OTF_WStream_writeRMAPutKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator, uint32_t tag, uint64_t bytes, uint32_t scltoken, OTF_KeyValueList *list) |
Write a RMAPUT record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeRMAPutRemoteEnd (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator, uint32_t tag, uint64_t bytes, uint32_t scltoken) |
Write a RMAPUTRE record to stream 'wstream'. More... | |
int | OTF_WStream_writeRMAPutRemoteEndKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator, uint32_t tag, uint64_t bytes, uint32_t scltoken, OTF_KeyValueList *list) |
Write a RMAPUTRE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeRMAGet (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator, uint32_t tag, uint64_t bytes, uint32_t scltoken) |
Write a RMAGET record to stream 'wstream'. More... | |
int | OTF_WStream_writeRMAGetKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator, uint32_t tag, uint64_t bytes, uint32_t scltoken, OTF_KeyValueList *list) |
Write a RMAGET record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeRMAEnd (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t remote, uint32_t communicator, uint32_t tag, uint32_t scltoken) |
Write a RMAEND record to stream 'wstream'. More... | |
int | OTF_WStream_writeRMAEndKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t remote, uint32_t communicator, uint32_t tag, uint32_t scltoken, OTF_KeyValueList *list) |
Write a RMAEND record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeSnapshotComment (OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment) |
Write a #TCOMMENT record to stream 'wstream'. More... | |
int | OTF_WStream_writeSnapshotCommentKV (OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment, OTF_KeyValueList *list) |
Write a #TCOMMENT record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeEnterSnapshot (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t statetoken, uint32_t cpuid, uint32_t scltoken) |
Write a TENTER record to stream 'wstream'. More... | |
int | OTF_WStream_writeEnterSnapshotKV (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t statetoken, uint32_t cpuid, uint32_t scltoken, OTF_KeyValueList *list) |
Write a TENTER record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeSendSnapshot (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t sender, uint32_t receiver, uint32_t procGroup, uint32_t type, uint32_t length, uint32_t source) |
Write a TSEND record to stream 'wstream'. More... | |
int | OTF_WStream_writeSendSnapshotKV (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t sender, uint32_t receiver, uint32_t procGroup, uint32_t type, uint32_t length, uint32_t source, OTF_KeyValueList *list) |
Write a TSEND record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeOpenFileSnapshot (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t fileid, uint32_t process, uint64_t handleid, uint32_t source) |
Write a TOPENFILE record to stream 'wstream'. More... | |
int | OTF_WStream_writeOpenFileSnapshotKV (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t fileid, uint32_t process, uint64_t handleid, uint32_t source, OTF_KeyValueList *list) |
Write a TOPENFILE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginCollopSnapshot (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t process, uint32_t collOp, uint64_t matchingId, uint32_t procGroup, uint32_t rootProc, uint64_t sent, uint64_t received, uint32_t scltoken) |
Write a TBEGINCOLLOP record to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginCollopSnapshotKV (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t process, uint32_t collOp, uint64_t matchingId, uint32_t procGroup, uint32_t rootProc, uint64_t sent, uint64_t received, uint32_t scltoken, OTF_KeyValueList *list) |
Write a TBEGINCOLLOP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginFileOpSnapshot (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t process, uint64_t matchingId, uint32_t scltoken) |
Write a TBEGINFILEOP record to stream 'wstream'. More... | |
int | OTF_WStream_writeBeginFileOpSnapshotKV (OTF_WStream *wstream, uint64_t time, uint64_t originaltime, uint32_t process, uint64_t matchingId, uint32_t scltoken, OTF_KeyValueList *list) |
Write a TBEGINFILEOP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeSummaryComment (OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment) |
Write a SUMCOMMENT record to stream 'wstream'. More... | |
int | OTF_WStream_writeSummaryCommentKV (OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment, OTF_KeyValueList *list) |
Write a SUMCOMMENT record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeFunctionSummary (OTF_WStream *wstream, uint64_t time, uint32_t function, uint32_t process, uint64_t count, uint64_t excltime, uint64_t incltime) |
Write a SUMFUNCTION record to stream 'wstream'. More... | |
int | OTF_WStream_writeFunctionSummaryKV (OTF_WStream *wstream, uint64_t time, uint32_t function, uint32_t process, uint64_t count, uint64_t excltime, uint64_t incltime, OTF_KeyValueList *list) |
Write a SUMFUNCTION record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeFunctionGroupSummary (OTF_WStream *wstream, uint64_t time, uint32_t functiongroup, uint32_t process, uint64_t count, uint64_t excltime, uint64_t incltime) |
Write a SUMFUNCTIONGROUP record to stream 'wstream'. More... | |
int | OTF_WStream_writeFunctionGroupSummaryKV (OTF_WStream *wstream, uint64_t time, uint32_t functiongroup, uint32_t process, uint64_t count, uint64_t excltime, uint64_t incltime, OTF_KeyValueList *list) |
Write a SUMFUNCTIONGROUP record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeMessageSummary (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t peer, uint32_t comm, uint32_t tag, uint64_t number_sent, uint64_t number_recved, uint64_t bytes_sent, uint64_t bytes_recved) |
Write a SUMMESSAGE record to stream 'wstream'. More... | |
int | OTF_WStream_writeMessageSummaryKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t peer, uint32_t comm, uint32_t tag, uint64_t number_sent, uint64_t number_recved, uint64_t bytes_sent, uint64_t bytes_recved, OTF_KeyValueList *list) |
Write a SUMMESSAGE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeCollopSummary (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t comm, uint32_t collective, uint64_t number_sent, uint64_t number_recved, uint64_t bytes_sent, uint64_t bytes_recved) |
Write a COLLOPMESSAGE record to stream 'wstream'. More... | |
int | OTF_WStream_writeCollopSummaryKV (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t comm, uint32_t collective, uint64_t number_sent, uint64_t number_recved, uint64_t bytes_sent, uint64_t bytes_recved, OTF_KeyValueList *list) |
Write a COLLOPMESSAGE record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeFileOperationSummary (OTF_WStream *wstream, uint64_t time, uint32_t fileid, uint32_t process, uint64_t nopen, uint64_t nclose, uint64_t nread, uint64_t nwrite, uint64_t nseek, uint64_t bytesread, uint64_t byteswrite) |
Write a SUMFILEOPERATION record to stream 'wstream'. More... | |
int | OTF_WStream_writeFileOperationSummaryKV (OTF_WStream *wstream, uint64_t time, uint32_t fileid, uint32_t process, uint64_t nopen, uint64_t nclose, uint64_t nread, uint64_t nwrite, uint64_t nseek, uint64_t bytesread, uint64_t byteswrite, OTF_KeyValueList *list) |
Write a SUMFILEOPERATION record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeFileGroupOperationSummary (OTF_WStream *wstream, uint64_t time, uint32_t groupid, uint32_t process, uint64_t nopen, uint64_t nclose, uint64_t nread, uint64_t nwrite, uint64_t nseek, uint64_t bytesread, uint64_t byteswrite) |
Write a SUMFILEGROUPOPERATION record to stream 'wstream'. More... | |
int | OTF_WStream_writeFileGroupOperationSummaryKV (OTF_WStream *wstream, uint64_t time, uint32_t groupid, uint32_t process, uint64_t nopen, uint64_t nclose, uint64_t nread, uint64_t nwrite, uint64_t nseek, uint64_t bytesread, uint64_t byteswrite, OTF_KeyValueList *list) |
Write a SUMFILEGROUPOPERATION record including an OTF_KeyValueList to stream 'wstream'. More... | |
int | OTF_WStream_writeDefMarker (OTF_WStream *wstream, uint32_t token, const char *name, uint32_t type) |
Write a def marker record to stream 'wstream'. More... | |
int | OTF_WStream_writeMarker (OTF_WStream *wstream, uint64_t time, uint32_t process, uint32_t token, const char *text) |
Write a marker record to stream 'wstream'. More... | |
This interface provides functions for writing trace at stream level.
A stream is part of a trace and consists of up to four buffers (event buffer, definition buffer, snapshots buffer, statistics buffer).
wstream is structured similarly to writer.
Use this interface, if you want to a specific stream and the writer interface does not provide the desired access.
Declare a file manager and a writer.
Initialize the file manager. Open at most 100 OS files.
Initialize the wstream object. Open file "test", writing the first stream.
Write some definition records.
Clean up before exiting the program.
Compile this using $ gcc -o test test.c otfconfig --libs
.
When executing this program it only writes one file (test.0.def), containg the written records.
int OTF_WStream_close | ( | OTF_WStream * | wstream | ) |
Close an OTF_WStream instance and all its related files.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
Referenced by OTF_Writer_closeAllStreams().
int OTF_WStream_flush | ( | OTF_WStream * | wstream | ) |
Flush an OTF_WStream instance, i.e.
flush all associated buffers if existing.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::defBuffer, struct_OTF_WStream::eventBuffer, struct_OTF_WStream::markerBuffer, OTF_WBuffer_flush(), struct_OTF_WStream::snapsBuffer, and struct_OTF_WStream::statsBuffer.
uint32_t OTF_WStream_getBufferSizes | ( | OTF_WStream * | wstream | ) |
Get the default buffer size for all buffers managed by this writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::buffersizes.
OTF_FileCompression OTF_WStream_getCompression | ( | OTF_WStream * | wstream | ) |
Return the standard compression method for all buffers managed by this writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::compression.
OTF_WBuffer* OTF_WStream_getDefBuffer | ( | OTF_WStream * | wstream | ) |
Returns the definition buffer of the according writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::buffersizes, struct_OTF_WStream::compression, struct_OTF_WStream::defBuffer, struct_OTF_WStream::id, struct_OTF_WStream::manager, struct_OTF_WStream::namestub, OTF_getFilename(), OTF_WBuffer_open_zlevel(), OTF_WBuffer_setSize(), and OTF_WBuffer_setZBufferSize().
Referenced by OTF_WStream_writeDefAttributeListKV(), OTF_WStream_writeDefCollectiveOperationKV(), OTF_WStream_writeDefCounterAssignments(), OTF_WStream_writeDefCounterGroupKV(), OTF_WStream_writeDefCounterKV(), OTF_WStream_writeDefCreatorKV(), OTF_WStream_writeDefFileGroupKV(), OTF_WStream_writeDefFileKV(), OTF_WStream_writeDefFunctionGroupKV(), OTF_WStream_writeDefFunctionKV(), OTF_WStream_writeDefinitionCommentKV(), OTF_WStream_writeDefKeyValueKV(), OTF_WStream_writeDefProcessGroupKV(), OTF_WStream_writeDefProcessKV(), OTF_WStream_writeDefProcessOrGroupAttributesKV(), OTF_WStream_writeDefProcessSubstitutes(), OTF_WStream_writeDefSclFileKV(), OTF_WStream_writeDefSclKV(), OTF_WStream_writeDefTimeRange(), and OTF_WStream_writeDefTimerResolutionKV().
OTF_WBuffer* OTF_WStream_getEventBuffer | ( | OTF_WStream * | wstream | ) |
Returns the event buffer of the according writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::buffersizes, struct_OTF_WStream::compression, struct_OTF_WStream::eventBuffer, struct_OTF_WStream::id, struct_OTF_WStream::manager, struct_OTF_WStream::namestub, OTF_getFilename(), OTF_WBuffer_open_zlevel(), OTF_WBuffer_setSize(), and OTF_WBuffer_setZBufferSize().
Referenced by OTF_WStream_writeBeginCollectiveOperationKV(), OTF_WStream_writeBeginFileOperationKV(), OTF_WStream_writeBeginProcessKV(), OTF_WStream_writeCollectiveOperationKV(), OTF_WStream_writeCounterKV(), OTF_WStream_writeEndCollectiveOperationKV(), OTF_WStream_writeEndFileOperationKV(), OTF_WStream_writeEndProcessKV(), OTF_WStream_writeEnterKV(), OTF_WStream_writeEventCommentKV(), OTF_WStream_writeFileOperationKV(), OTF_WStream_writeLeaveKV(), OTF_WStream_writeNoOpKV(), OTF_WStream_writeRecvMsgKV(), OTF_WStream_writeRMAEndKV(), OTF_WStream_writeRMAGetKV(), OTF_WStream_writeRMAPutKV(), OTF_WStream_writeRMAPutRemoteEndKV(), and OTF_WStream_writeSendMsgKV().
uint32_t OTF_WStream_getFormat | ( | OTF_WStream * | wstream | ) |
Get the default output format.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::format.
OTF_WBuffer* OTF_WStream_getMarkerBuffer | ( | OTF_WStream * | wstream | ) |
Returns the marker buffer of the according writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::buffersizes, struct_OTF_WStream::compression, struct_OTF_WStream::id, struct_OTF_WStream::manager, struct_OTF_WStream::markerBuffer, struct_OTF_WStream::namestub, OTF_getFilename(), OTF_WBuffer_open_zlevel(), and OTF_WBuffer_setSize().
Referenced by OTF_WStream_writeDefMarkerKV(), and OTF_WStream_writeMarkerKV().
OTF_WBuffer* OTF_WStream_getSnapshotBuffer | ( | OTF_WStream * | wstream | ) |
Returns the snapshots buffer of the according writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::buffersizes, struct_OTF_WStream::compression, struct_OTF_WStream::id, struct_OTF_WStream::manager, struct_OTF_WStream::namestub, OTF_getFilename(), OTF_WBuffer_open_zlevel(), OTF_WBuffer_setSize(), OTF_WBuffer_setZBufferSize(), and struct_OTF_WStream::snapsBuffer.
Referenced by OTF_WStream_writeBeginCollopSnapshotKV(), OTF_WStream_writeBeginFileOpSnapshotKV(), OTF_WStream_writeEnterSnapshotKV(), OTF_WStream_writeOpenFileSnapshotKV(), OTF_WStream_writeSendSnapshotKV(), and OTF_WStream_writeSnapshotCommentKV().
OTF_WBuffer* OTF_WStream_getStatsBuffer | ( | OTF_WStream * | wstream | ) |
Returns the statistics buffer of the according writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
References struct_OTF_WStream::buffersizes, struct_OTF_WStream::compression, struct_OTF_WStream::id, struct_OTF_WStream::manager, struct_OTF_WStream::namestub, OTF_getFilename(), OTF_WBuffer_open_zlevel(), OTF_WBuffer_setSize(), and struct_OTF_WStream::statsBuffer.
Referenced by OTF_WStream_writeCollopSummaryKV(), OTF_WStream_writeFileGroupOperationSummaryKV(), OTF_WStream_writeFileOperationSummaryKV(), OTF_WStream_writeFunctionGroupSummaryKV(), OTF_WStream_writeFunctionSummaryKV(), OTF_WStream_writeMessageSummaryKV(), and OTF_WStream_writeSummaryCommentKV().
uint32_t OTF_WStream_getZBufferSizes | ( | OTF_WStream * | wstream | ) |
Get the default zbuffer size for all files managed by this writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
OTF_WStream* OTF_WStream_open | ( | const char * | namestub, |
uint32_t | id, | ||
OTF_FileManager * | manager | ||
) |
Create a new OTF_WStream instance.
namestub | File name prefix which is going to be used by all sub-files which belong to the writer stream. |
id | Abitrary but unique identifier of the writer stream. Must be > '0' for real streams. Use '0' for global definitions. |
manager | File handle manager. |
References struct_OTF_WStream::id, struct_OTF_Writer::manager, struct_OTF_WStream::manager, and struct_OTF_WStream::namestub.
Referenced by OTF_Writer_getStream().
void OTF_WStream_setBufferSizes | ( | OTF_WStream * | wstream, |
uint32_t | size | ||
) |
Set the default buffer size for all buffers managed by this writer stream.
This is only effective for future buffers and will not change already allocated buffers. Those can be changed with the buffers directly.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
size | Intended buffer size. |
References struct_OTF_WStream::buffersizes.
Referenced by OTF_Writer_getStream().
int OTF_WStream_setCompression | ( | OTF_WStream * | wstream, |
OTF_FileCompression | compression | ||
) |
Set the standard compression method for all buffers managed by this writer stream.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
compression | Default compression level. 0-9, where 0 means no compression is applied, and 9 is the highest level of compression. |
References struct_OTF_WStream::compression.
Referenced by OTF_Writer_getStream().
void OTF_WStream_setFormat | ( | OTF_WStream * | wstream, |
uint32_t | format | ||
) |
Set the default ouput format.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
format | Intended output format (OTF_WSTREAM_FORMAT_{LONG,SHORT}) |
References struct_OTF_Writer::format, and struct_OTF_WStream::format.
Referenced by OTF_Writer_getStream().
void OTF_WStream_setZBufferSizes | ( | OTF_WStream * | wstream, |
uint32_t | size | ||
) |
Set the default zbuffer size for all files managed by this writer stream.
This is only effective for future files and will not change already allocated buffers. Those can be changed with the files directly.
wstream | Pointer to an initialized OTF_WStream object. See also OTF_WStream_open(). |
size | Intended buffer size. |
Referenced by OTF_Writer_getStream().
int OTF_WStream_writeBeginCollectiveOperation | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | collOp, | ||
uint64_t | matchingId, | ||
uint32_t | procGroup, | ||
uint32_t | rootProc, | ||
uint64_t | sent, | ||
uint64_t | received, | ||
uint32_t | scltoken | ||
) |
Write a COLLOPBEGIN record to stream 'wstream'.
References OTF_WStream_writeBeginCollectiveOperationKV().
Referenced by OTF_Writer_writeBeginCollectiveOperation().
int OTF_WStream_writeBeginCollectiveOperationKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | collOp, | ||
uint64_t | matchingId, | ||
uint32_t | procGroup, | ||
uint32_t | rootProc, | ||
uint64_t | sent, | ||
uint64_t | received, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a COLLOPBEGIN record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeBeginCollectiveOperationKV(), and OTF_WStream_writeBeginCollectiveOperation().
int OTF_WStream_writeBeginCollopSnapshot | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | process, | ||
uint32_t | collOp, | ||
uint64_t | matchingId, | ||
uint32_t | procGroup, | ||
uint32_t | rootProc, | ||
uint64_t | sent, | ||
uint64_t | received, | ||
uint32_t | scltoken | ||
) |
Write a TBEGINCOLLOP record to stream 'wstream'.
References OTF_WStream_writeBeginCollopSnapshotKV().
Referenced by OTF_Writer_writeBeginCollopSnapshot().
int OTF_WStream_writeBeginCollopSnapshotKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | process, | ||
uint32_t | collOp, | ||
uint64_t | matchingId, | ||
uint32_t | procGroup, | ||
uint32_t | rootProc, | ||
uint64_t | sent, | ||
uint64_t | received, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a TBEGINCOLLOP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getSnapshotBuffer().
Referenced by OTF_Writer_writeBeginCollopSnapshotKV(), and OTF_WStream_writeBeginCollopSnapshot().
int OTF_WStream_writeBeginFileOperation | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint64_t | matchingId, | ||
uint32_t | scltoken | ||
) |
Write a FILEOPBEGIN record to stream 'wstream'.
References OTF_WStream_writeBeginFileOperationKV().
Referenced by OTF_Writer_writeBeginFileOperation().
int OTF_WStream_writeBeginFileOperationKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint64_t | matchingId, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a FILEOPBEGIN record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeBeginFileOperationKV(), and OTF_WStream_writeBeginFileOperation().
int OTF_WStream_writeBeginFileOpSnapshot | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | process, | ||
uint64_t | matchingId, | ||
uint32_t | scltoken | ||
) |
Write a TBEGINFILEOP record to stream 'wstream'.
References OTF_WStream_writeBeginFileOpSnapshotKV().
Referenced by OTF_Writer_writeBeginFileOpSnapshot().
int OTF_WStream_writeBeginFileOpSnapshotKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | process, | ||
uint64_t | matchingId, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a TBEGINFILEOP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getSnapshotBuffer().
Referenced by OTF_Writer_writeBeginFileOpSnapshotKV(), and OTF_WStream_writeBeginFileOpSnapshot().
int OTF_WStream_writeBeginProcess | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process | ||
) |
Write a PROCESSBEGIN record to stream 'wstream'.
References OTF_WStream_writeBeginProcessKV().
Referenced by OTF_Writer_writeBeginProcess().
int OTF_WStream_writeBeginProcessKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
OTF_KeyValueList * | list | ||
) |
Write a PROCESSBEGIN record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeBeginProcessKV(), and OTF_WStream_writeBeginProcess().
int OTF_WStream_writeCollectiveOperation | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | functionToken, | ||
uint32_t | communicator, | ||
uint32_t | rootprocess, | ||
uint32_t | sent, | ||
uint32_t | received, | ||
uint64_t | duration, | ||
uint32_t | scltoken | ||
) |
Write a COLLOP record to stream 'wstream'.
References OTF_WStream_writeCollectiveOperationKV().
Referenced by OTF_Writer_writeCollectiveOperation().
int OTF_WStream_writeCollectiveOperationKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | functionToken, | ||
uint32_t | communicator, | ||
uint32_t | rootprocess, | ||
uint32_t | sent, | ||
uint32_t | received, | ||
uint64_t | duration, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a COLLOP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeCollectiveOperationKV(), and OTF_WStream_writeCollectiveOperation().
int OTF_WStream_writeCollopSummary | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | comm, | ||
uint32_t | collective, | ||
uint64_t | number_sent, | ||
uint64_t | number_recved, | ||
uint64_t | bytes_sent, | ||
uint64_t | bytes_recved | ||
) |
Write a COLLOPMESSAGE record to stream 'wstream'.
References OTF_WStream_writeCollopSummaryKV().
Referenced by OTF_Writer_writeCollopSummary().
int OTF_WStream_writeCollopSummaryKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | comm, | ||
uint32_t | collective, | ||
uint64_t | number_sent, | ||
uint64_t | number_recved, | ||
uint64_t | bytes_sent, | ||
uint64_t | bytes_recved, | ||
OTF_KeyValueList * | list | ||
) |
Write a COLLOPMESSAGE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getStatsBuffer().
Referenced by OTF_Writer_writeCollopSummaryKV(), and OTF_WStream_writeCollopSummary().
int OTF_WStream_writeCounter | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | counter_token, | ||
uint64_t | value | ||
) |
Write a COUNTER record to stream 'wstream'.
References OTF_WStream_writeCounterKV().
Referenced by OTF_Writer_writeCounter().
int OTF_WStream_writeCounterKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | counter_token, | ||
uint64_t | value, | ||
OTF_KeyValueList * | list | ||
) |
Write a COUNTER record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeCounterKV(), and OTF_WStream_writeCounter().
int OTF_WStream_writeDefAttributeList | ( | OTF_WStream * | wstream, |
uint32_t | attr_token, | ||
uint32_t | num, | ||
OTF_ATTR_TYPE * | array | ||
) |
Write a DEFATTRLIST record to stream 'wstream'.
References OTF_WStream_writeDefAttributeListKV().
Referenced by OTF_Writer_writeDefAttributeList().
int OTF_WStream_writeDefAttributeListKV | ( | OTF_WStream * | wstream, |
uint32_t | attr_token, | ||
uint32_t | num, | ||
OTF_ATTR_TYPE * | array, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFATTRLIST record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeChar(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefAttributeListKV(), and OTF_WStream_writeDefAttributeList().
int OTF_WStream_writeDefCollectiveOperation | ( | OTF_WStream * | wstream, |
uint32_t | collOp, | ||
const char * | name, | ||
uint32_t | type | ||
) |
Write a DEFCOLLECTIVEOPERATION record to stream 'wstream'.
References OTF_WStream_writeDefCollectiveOperationKV().
Referenced by OTF_Writer_writeDefCollectiveOperation().
int OTF_WStream_writeDefCollectiveOperationKV | ( | OTF_WStream * | wstream, |
uint32_t | collOp, | ||
const char * | name, | ||
uint32_t | type, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFCOLLECTIVEOPERATION record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefCollectiveOperationKV(), and OTF_WStream_writeDefCollectiveOperation().
int OTF_WStream_writeDefCounter | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
uint32_t | properties, | ||
uint32_t | countergroup, | ||
const char * | unit | ||
) |
Write a DEFCOUNTER record to stream 'wstream'.
References OTF_WStream_writeDefCounterKV().
Referenced by OTF_Writer_writeDefCounter().
int OTF_WStream_writeDefCounterAssignments | ( | OTF_WStream * | wstream, |
uint32_t | counter_token, | ||
uint32_t | number_of_members, | ||
const uint32_t * | procs_or_groups, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFCOUNTERASSIGNMENTS record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeChar(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefCounterAssignments().
int OTF_WStream_writeDefCounterGroup | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name | ||
) |
Write a DEFCOUNTERGROUP record to stream 'wstream'.
References OTF_WStream_writeDefCounterGroupKV().
Referenced by OTF_Writer_writeDefCounterGroup().
int OTF_WStream_writeDefCounterGroupKV | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFCOUNTERGROUP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefCounterGroupKV(), and OTF_WStream_writeDefCounterGroup().
int OTF_WStream_writeDefCounterKV | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
uint32_t | properties, | ||
uint32_t | countergroup, | ||
const char * | unit, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFCOUNTER record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefCounterKV(), and OTF_WStream_writeDefCounter().
int OTF_WStream_writeDefCreator | ( | OTF_WStream * | wstream, |
const char * | creator | ||
) |
Write a DEFCREATOR record to stream 'wstream'.
References OTF_WStream_writeDefCreatorKV().
Referenced by OTF_Writer_writeDefCreator().
int OTF_WStream_writeDefCreatorKV | ( | OTF_WStream * | wstream, |
const char * | creator, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFCREATOR record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefCreatorKV(), and OTF_WStream_writeDefCreator().
int OTF_WStream_writeDefFile | ( | OTF_WStream * | wstream, |
uint32_t | token, | ||
const char * | name, | ||
uint32_t | group | ||
) |
Write a DEFFILE record to stream 'wstream'.
References OTF_WStream_writeDefFileKV().
Referenced by OTF_Writer_writeDefFile().
int OTF_WStream_writeDefFileGroup | ( | OTF_WStream * | wstream, |
uint32_t | token, | ||
const char * | name | ||
) |
Write a DEFFILEGROUP record to stream 'wstream'.
References OTF_WStream_writeDefFileGroupKV().
Referenced by OTF_Writer_writeDefFileGroup().
int OTF_WStream_writeDefFileGroupKV | ( | OTF_WStream * | wstream, |
uint32_t | token, | ||
const char * | name, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFFILEGROUP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefFileGroupKV(), and OTF_WStream_writeDefFileGroup().
int OTF_WStream_writeDefFileKV | ( | OTF_WStream * | wstream, |
uint32_t | token, | ||
const char * | name, | ||
uint32_t | group, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFFILE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefFileKV(), and OTF_WStream_writeDefFile().
int OTF_WStream_writeDefFunction | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
uint32_t | group, | ||
uint32_t | scltoken | ||
) |
Write a DEFFUNCTION record to stream 'wstream'.
References OTF_WStream_writeDefFunctionKV().
Referenced by OTF_Writer_writeDefFunction().
int OTF_WStream_writeDefFunctionGroup | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name | ||
) |
Write a DEFFUNCTIONGROUP record to stream 'wstream'.
References OTF_WStream_writeDefFunctionGroupKV().
Referenced by OTF_Writer_writeDefFunctionGroup().
int OTF_WStream_writeDefFunctionGroupKV | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFFUNCTIONGROUP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefFunctionGroupKV(), and OTF_WStream_writeDefFunctionGroup().
int OTF_WStream_writeDefFunctionKV | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
uint32_t | group, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFFUNCTION record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefFunctionKV(), and OTF_WStream_writeDefFunction().
int OTF_WStream_writeDefinitionComment | ( | OTF_WStream * | wstream, |
const char * | comment | ||
) |
Write a DEFINITIONCOMMENT record to stream 'wstream'.
References OTF_WStream_writeDefinitionCommentKV().
Referenced by OTF_Writer_writeDefinitionComment().
int OTF_WStream_writeDefinitionCommentKV | ( | OTF_WStream * | wstream, |
const char * | comment, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFINITIONCOMMENT record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefinitionCommentKV(), and OTF_WStream_writeDefinitionComment().
int OTF_WStream_writeDefKeyValue | ( | OTF_WStream * | wstream, |
uint32_t | key, | ||
OTF_Type | type, | ||
const char * | name, | ||
const char * | description | ||
) |
Write a DEFKEYVALUE record to stream 'wstream'.
References OTF_WStream_writeDefKeyValueKV().
Referenced by OTF_Writer_writeDefKeyValue().
int OTF_WStream_writeDefKeyValueKV | ( | OTF_WStream * | wstream, |
uint32_t | key, | ||
OTF_Type | type, | ||
const char * | name, | ||
const char * | description, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFKEYVALUE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefKeyValueKV(), and OTF_WStream_writeDefKeyValue().
int OTF_WStream_writeDefMarker | ( | OTF_WStream * | wstream, |
uint32_t | token, | ||
const char * | name, | ||
uint32_t | type | ||
) |
Write a def marker record to stream 'wstream'.
References OTF_WStream_writeDefMarkerKV().
Referenced by OTF_Writer_writeDefMarker().
int OTF_WStream_writeDefMarkerKV | ( | OTF_WStream * | wstream, |
uint32_t | token, | ||
const char * | name, | ||
uint32_t | type, | ||
OTF_KeyValueList * | list | ||
) |
Write a def marker record to stream 'wstream'.
Write a def marker record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getMarkerBuffer().
Referenced by OTF_Writer_writeDefMarkerKV(), and OTF_WStream_writeDefMarker().
int OTF_WStream_writeDefProcess | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
uint32_t | parent | ||
) |
Write a DEFPROCESS record to stream 'wstream'.
References OTF_WStream_writeDefProcessKV().
Referenced by OTF_Writer_writeDefProcess().
int OTF_WStream_writeDefProcessGroup | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
uint32_t | n, | ||
const uint32_t * | array | ||
) |
Write a DEFPROCESSGROUP record to stream 'wstream'.
References OTF_WStream_writeDefProcessGroupKV().
Referenced by OTF_Writer_writeDefProcessGroup().
int OTF_WStream_writeDefProcessGroupKV | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
uint32_t | n, | ||
const uint32_t * | array, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFPROCESSGROUP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, struct_OTF_Writer::n, OTF_WBuffer_writeChar(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefProcessGroupKV(), and OTF_WStream_writeDefProcessGroup().
int OTF_WStream_writeDefProcessKV | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | name, | ||
uint32_t | parent, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFPROCESS record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefProcessKV(), and OTF_WStream_writeDefProcess().
int OTF_WStream_writeDefProcessOrGroupAttributes | ( | OTF_WStream * | wstream, |
uint32_t | proc_token, | ||
uint32_t | attr_token | ||
) |
Write a DEFPROCESSORGROUPATTR record to stream 'wstream'.
References OTF_WStream_writeDefProcessOrGroupAttributesKV().
Referenced by OTF_Writer_writeDefProcessOrGroupAttributes().
int OTF_WStream_writeDefProcessOrGroupAttributesKV | ( | OTF_WStream * | wstream, |
uint32_t | proc_token, | ||
uint32_t | attr_token, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFPROCESSORGROUPATTR record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefProcessOrGroupAttributesKV(), and OTF_WStream_writeDefProcessOrGroupAttributes().
int OTF_WStream_writeDefProcessSubstitutes | ( | OTF_WStream * | wstream, |
uint32_t | representative, | ||
uint32_t | numberOfProcs, | ||
const uint32_t * | procs, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFPROCESSSUBTITUTES record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeChar(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefProcessSubstitutes().
int OTF_WStream_writeDefScl | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
uint32_t | sclfile, | ||
uint32_t | sclline | ||
) |
Write a DEFSCL record to stream 'wstream'.
References OTF_WStream_writeDefSclKV().
Referenced by OTF_Writer_writeDefScl().
int OTF_WStream_writeDefSclFile | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | filename | ||
) |
Write a DEFSCLFILE record to stream 'wstream'.
References OTF_WStream_writeDefSclFileKV().
Referenced by OTF_Writer_writeDefSclFile().
int OTF_WStream_writeDefSclFileKV | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
const char * | filename, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFSCLFILE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefSclFileKV(), and OTF_WStream_writeDefSclFile().
int OTF_WStream_writeDefSclKV | ( | OTF_WStream * | wstream, |
uint32_t | deftoken, | ||
uint32_t | sclfile, | ||
uint32_t | sclline, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFSCL record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefSclKV(), and OTF_WStream_writeDefScl().
int OTF_WStream_writeDefTimeRange | ( | OTF_WStream * | wstream, |
uint64_t | minTime, | ||
uint64_t | maxTime, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFTIMERANGE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint64(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefTimeRange().
int OTF_WStream_writeDefTimerResolution | ( | OTF_WStream * | wstream, |
uint64_t | ticksPerSecond | ||
) |
Write a DEFTIMERRESOLUTION record to stream 'wstream'.
References OTF_WStream_writeDefTimerResolutionKV().
Referenced by OTF_Writer_writeDefTimerResolution().
int OTF_WStream_writeDefTimerResolutionKV | ( | OTF_WStream * | wstream, |
uint64_t | ticksPerSecond, | ||
OTF_KeyValueList * | list | ||
) |
Write a DEFTIMERRESOLUTION record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint64(), and OTF_WStream_getDefBuffer().
Referenced by OTF_Writer_writeDefTimerResolutionKV(), and OTF_WStream_writeDefTimerResolution().
int OTF_WStream_writeEndCollectiveOperation | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint64_t | matchingId | ||
) |
Write a COLLOPEND record to stream 'wstream'.
References OTF_WStream_writeEndCollectiveOperationKV().
Referenced by OTF_Writer_writeEndCollectiveOperation().
int OTF_WStream_writeEndCollectiveOperationKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint64_t | matchingId, | ||
OTF_KeyValueList * | list | ||
) |
Write a COLLOPEND record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeEndCollectiveOperationKV(), and OTF_WStream_writeEndCollectiveOperation().
int OTF_WStream_writeEndFileOperation | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | fileid, | ||
uint64_t | matchingId, | ||
uint64_t | handleId, | ||
uint32_t | operation, | ||
uint64_t | bytes, | ||
uint32_t | scltoken | ||
) |
Write a FILEOPEND record to stream 'wstream'.
References OTF_WStream_writeEndFileOperationKV().
Referenced by OTF_Writer_writeEndFileOperation().
int OTF_WStream_writeEndFileOperationKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | fileid, | ||
uint64_t | matchingId, | ||
uint64_t | handleId, | ||
uint32_t | operation, | ||
uint64_t | bytes, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a FILEOPEND record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeEndFileOperationKV(), and OTF_WStream_writeEndFileOperation().
int OTF_WStream_writeEndProcess | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process | ||
) |
Write a PROCESSEND record to stream 'wstream'.
References OTF_WStream_writeEndProcessKV().
Referenced by OTF_Writer_writeEndProcess().
int OTF_WStream_writeEndProcessKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
OTF_KeyValueList * | list | ||
) |
Write a PROCESSEND record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeEndProcessKV(), and OTF_WStream_writeEndProcess().
int OTF_WStream_writeEnter | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | statetoken, | ||
uint32_t | cpuid, | ||
uint32_t | scltoken | ||
) |
Write a ENTER record to stream 'wstream'.
References OTF_WStream_writeEnterKV().
Referenced by OTF_Writer_writeEnter().
int OTF_WStream_writeEnterKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | statetoken, | ||
uint32_t | cpuid, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a ENTER record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeEnterKV(), and OTF_WStream_writeEnter().
int OTF_WStream_writeEnterSnapshot | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | statetoken, | ||
uint32_t | cpuid, | ||
uint32_t | scltoken | ||
) |
Write a TENTER record to stream 'wstream'.
References OTF_WStream_writeEnterSnapshotKV().
Referenced by OTF_Writer_writeEnterSnapshot().
int OTF_WStream_writeEnterSnapshotKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | statetoken, | ||
uint32_t | cpuid, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a TENTER record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getSnapshotBuffer().
Referenced by OTF_Writer_writeEnterSnapshotKV(), and OTF_WStream_writeEnterSnapshot().
int OTF_WStream_writeEventComment | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
const char * | comment | ||
) |
Write a #EVTCOMMENT record to stream 'wstream'.
References OTF_WStream_writeEventCommentKV().
Referenced by OTF_Writer_writeEventComment().
int OTF_WStream_writeEventCommentKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
const char * | comment, | ||
OTF_KeyValueList * | list | ||
) |
Write a #EVTCOMMENT record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeEventCommentKV(), and OTF_WStream_writeEventComment().
int OTF_WStream_writeFileGroupOperationSummary | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | groupid, | ||
uint32_t | process, | ||
uint64_t | nopen, | ||
uint64_t | nclose, | ||
uint64_t | nread, | ||
uint64_t | nwrite, | ||
uint64_t | nseek, | ||
uint64_t | bytesread, | ||
uint64_t | byteswrite | ||
) |
Write a SUMFILEGROUPOPERATION record to stream 'wstream'.
References OTF_WStream_writeFileGroupOperationSummaryKV().
Referenced by OTF_Writer_writeFileGroupOperationSummary().
int OTF_WStream_writeFileGroupOperationSummaryKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | groupid, | ||
uint32_t | process, | ||
uint64_t | nopen, | ||
uint64_t | nclose, | ||
uint64_t | nread, | ||
uint64_t | nwrite, | ||
uint64_t | nseek, | ||
uint64_t | bytesread, | ||
uint64_t | byteswrite, | ||
OTF_KeyValueList * | list | ||
) |
Write a SUMFILEGROUPOPERATION record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getStatsBuffer().
Referenced by OTF_Writer_writeFileGroupOperationSummaryKV(), and OTF_WStream_writeFileGroupOperationSummary().
int OTF_WStream_writeFileOperation | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | fileid, | ||
uint32_t | process, | ||
uint64_t | handleid, | ||
uint32_t | operation, | ||
uint64_t | bytes, | ||
uint64_t | duration, | ||
uint32_t | source | ||
) |
Write a FILEOP record to stream 'wstream'.
References OTF_WStream_writeFileOperationKV().
Referenced by OTF_Writer_writeFileOperation().
int OTF_WStream_writeFileOperationKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | fileid, | ||
uint32_t | process, | ||
uint64_t | handleid, | ||
uint32_t | operation, | ||
uint64_t | bytes, | ||
uint64_t | duration, | ||
uint32_t | source, | ||
OTF_KeyValueList * | list | ||
) |
Write a FILEOP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeFileOperationKV(), and OTF_WStream_writeFileOperation().
int OTF_WStream_writeFileOperationSummary | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | fileid, | ||
uint32_t | process, | ||
uint64_t | nopen, | ||
uint64_t | nclose, | ||
uint64_t | nread, | ||
uint64_t | nwrite, | ||
uint64_t | nseek, | ||
uint64_t | bytesread, | ||
uint64_t | byteswrite | ||
) |
Write a SUMFILEOPERATION record to stream 'wstream'.
References OTF_WStream_writeFileOperationSummaryKV().
Referenced by OTF_Writer_writeFileOperationSummary().
int OTF_WStream_writeFileOperationSummaryKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | fileid, | ||
uint32_t | process, | ||
uint64_t | nopen, | ||
uint64_t | nclose, | ||
uint64_t | nread, | ||
uint64_t | nwrite, | ||
uint64_t | nseek, | ||
uint64_t | bytesread, | ||
uint64_t | byteswrite, | ||
OTF_KeyValueList * | list | ||
) |
Write a SUMFILEOPERATION record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getStatsBuffer().
Referenced by OTF_Writer_writeFileOperationSummaryKV(), and OTF_WStream_writeFileOperationSummary().
int OTF_WStream_writeFunctionGroupSummary | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | functiongroup, | ||
uint32_t | process, | ||
uint64_t | count, | ||
uint64_t | excltime, | ||
uint64_t | incltime | ||
) |
Write a SUMFUNCTIONGROUP record to stream 'wstream'.
References OTF_WStream_writeFunctionGroupSummaryKV().
Referenced by OTF_Writer_writeFunctionGroupSummary().
int OTF_WStream_writeFunctionGroupSummaryKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | functiongroup, | ||
uint32_t | process, | ||
uint64_t | count, | ||
uint64_t | excltime, | ||
uint64_t | incltime, | ||
OTF_KeyValueList * | list | ||
) |
Write a SUMFUNCTIONGROUP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getStatsBuffer().
Referenced by OTF_Writer_writeFunctionGroupSummaryKV(), and OTF_WStream_writeFunctionGroupSummary().
int OTF_WStream_writeFunctionSummary | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | function, | ||
uint32_t | process, | ||
uint64_t | count, | ||
uint64_t | excltime, | ||
uint64_t | incltime | ||
) |
Write a SUMFUNCTION record to stream 'wstream'.
References OTF_WStream_writeFunctionSummaryKV().
Referenced by OTF_Writer_writeFunctionSummary().
int OTF_WStream_writeFunctionSummaryKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | function, | ||
uint32_t | process, | ||
uint64_t | count, | ||
uint64_t | excltime, | ||
uint64_t | incltime, | ||
OTF_KeyValueList * | list | ||
) |
Write a SUMFUNCTION record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getStatsBuffer().
Referenced by OTF_Writer_writeFunctionSummaryKV(), and OTF_WStream_writeFunctionSummary().
int OTF_WStream_writeLeave | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | statetoken, | ||
uint32_t | cpuid, | ||
uint32_t | scltoken | ||
) |
Write a LEAVE record to stream 'wstream'.
References OTF_WStream_writeLeaveKV().
Referenced by OTF_Writer_writeLeave().
int OTF_WStream_writeLeaveKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | statetoken, | ||
uint32_t | cpuid, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a LEAVE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeLeaveKV(), and OTF_WStream_writeLeave().
int OTF_WStream_writeMarker | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | token, | ||
const char * | text | ||
) |
Write a marker record to stream 'wstream'.
References OTF_WStream_writeMarkerKV().
Referenced by OTF_Writer_writeMarker().
int OTF_WStream_writeMarkerKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | token, | ||
const char * | text, | ||
OTF_KeyValueList * | list | ||
) |
Write a marker record to stream 'wstream'.
Write a marker record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getMarkerBuffer().
Referenced by OTF_Writer_writeMarkerKV(), and OTF_WStream_writeMarker().
int OTF_WStream_writeMessageSummary | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | peer, | ||
uint32_t | comm, | ||
uint32_t | tag, | ||
uint64_t | number_sent, | ||
uint64_t | number_recved, | ||
uint64_t | bytes_sent, | ||
uint64_t | bytes_recved | ||
) |
Write a SUMMESSAGE record to stream 'wstream'.
References OTF_WStream_writeMessageSummaryKV().
Referenced by OTF_Writer_writeMessageSummary().
int OTF_WStream_writeMessageSummaryKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | peer, | ||
uint32_t | comm, | ||
uint32_t | tag, | ||
uint64_t | number_sent, | ||
uint64_t | number_recved, | ||
uint64_t | bytes_sent, | ||
uint64_t | bytes_recved, | ||
OTF_KeyValueList * | list | ||
) |
Write a SUMMESSAGE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getStatsBuffer().
Referenced by OTF_Writer_writeMessageSummaryKV(), and OTF_WStream_writeMessageSummary().
int OTF_WStream_writeNoOpKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
OTF_KeyValueList * | list | ||
) |
Write a NOOP record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeNoOpKV().
int OTF_WStream_writeOpenFileSnapshot | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | fileid, | ||
uint32_t | process, | ||
uint64_t | handleid, | ||
uint32_t | source | ||
) |
Write a TOPENFILE record to stream 'wstream'.
References OTF_WStream_writeOpenFileSnapshotKV().
Referenced by OTF_Writer_writeOpenFileSnapshot().
int OTF_WStream_writeOpenFileSnapshotKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | fileid, | ||
uint32_t | process, | ||
uint64_t | handleid, | ||
uint32_t | source, | ||
OTF_KeyValueList * | list | ||
) |
Write a TOPENFILE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getSnapshotBuffer().
Referenced by OTF_Writer_writeOpenFileSnapshotKV(), and OTF_WStream_writeOpenFileSnapshot().
int OTF_WStream_writeOtfVersion | ( | OTF_WStream * | wstream | ) |
Write a DEFVERSION record to stream 'wstream'.
Referenced by OTF_Writer_writeDefAttributeList(), OTF_Writer_writeDefAttributeListKV(), OTF_Writer_writeDefCollectiveOperation(), OTF_Writer_writeDefCollectiveOperationKV(), OTF_Writer_writeDefCounter(), OTF_Writer_writeDefCounterAssignments(), OTF_Writer_writeDefCounterGroup(), OTF_Writer_writeDefCounterGroupKV(), OTF_Writer_writeDefCounterKV(), OTF_Writer_writeDefCreator(), OTF_Writer_writeDefCreatorKV(), OTF_Writer_writeDefFunction(), OTF_Writer_writeDefFunctionGroup(), OTF_Writer_writeDefFunctionGroupKV(), OTF_Writer_writeDefFunctionKV(), OTF_Writer_writeDefinitionComment(), OTF_Writer_writeDefinitionCommentKV(), OTF_Writer_writeDefKeyValue(), OTF_Writer_writeDefKeyValueKV(), OTF_Writer_writeDefProcess(), OTF_Writer_writeDefProcessGroup(), OTF_Writer_writeDefProcessGroupKV(), OTF_Writer_writeDefProcessKV(), OTF_Writer_writeDefProcessOrGroupAttributes(), OTF_Writer_writeDefProcessOrGroupAttributesKV(), OTF_Writer_writeDefProcessSubstitutes(), OTF_Writer_writeDefScl(), OTF_Writer_writeDefSclFile(), OTF_Writer_writeDefSclFileKV(), OTF_Writer_writeDefSclKV(), OTF_Writer_writeDefTimeRange(), OTF_Writer_writeDefTimerResolution(), and OTF_Writer_writeDefTimerResolutionKV().
int OTF_WStream_writeRecvMsg | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | receiver, | ||
uint32_t | sender, | ||
uint32_t | communicator, | ||
uint32_t | msgtype, | ||
uint32_t | msglength, | ||
uint32_t | scltoken | ||
) |
Write a RECEIVE record to stream 'wstream'.
References OTF_WStream_writeRecvMsgKV().
Referenced by OTF_Writer_writeRecvMsg().
int OTF_WStream_writeRecvMsgKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | receiver, | ||
uint32_t | sender, | ||
uint32_t | communicator, | ||
uint32_t | msgtype, | ||
uint32_t | msglength, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a RECEIVE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeRecvMsgKV(), and OTF_WStream_writeRecvMsg().
int OTF_WStream_writeRMAEnd | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | remote, | ||
uint32_t | communicator, | ||
uint32_t | tag, | ||
uint32_t | scltoken | ||
) |
Write a RMAEND record to stream 'wstream'.
References OTF_WStream_writeRMAEndKV().
Referenced by OTF_Writer_writeRMAEnd().
int OTF_WStream_writeRMAEndKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | remote, | ||
uint32_t | communicator, | ||
uint32_t | tag, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a RMAEND record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeRMAEndKV(), and OTF_WStream_writeRMAEnd().
int OTF_WStream_writeRMAGet | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | origin, | ||
uint32_t | target, | ||
uint32_t | communicator, | ||
uint32_t | tag, | ||
uint64_t | bytes, | ||
uint32_t | scltoken | ||
) |
Write a RMAGET record to stream 'wstream'.
References OTF_WStream_writeRMAGetKV().
Referenced by OTF_Writer_writeRMAGet().
int OTF_WStream_writeRMAGetKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | origin, | ||
uint32_t | target, | ||
uint32_t | communicator, | ||
uint32_t | tag, | ||
uint64_t | bytes, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a RMAGET record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeRMAGetKV(), and OTF_WStream_writeRMAGet().
int OTF_WStream_writeRMAPut | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | origin, | ||
uint32_t | target, | ||
uint32_t | communicator, | ||
uint32_t | tag, | ||
uint64_t | bytes, | ||
uint32_t | scltoken | ||
) |
Write a RMAPUT record to stream 'wstream'.
References OTF_WStream_writeRMAPutKV().
Referenced by OTF_Writer_writeRMAPut().
int OTF_WStream_writeRMAPutKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | origin, | ||
uint32_t | target, | ||
uint32_t | communicator, | ||
uint32_t | tag, | ||
uint64_t | bytes, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a RMAPUT record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeRMAPutKV(), and OTF_WStream_writeRMAPut().
int OTF_WStream_writeRMAPutRemoteEnd | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | origin, | ||
uint32_t | target, | ||
uint32_t | communicator, | ||
uint32_t | tag, | ||
uint64_t | bytes, | ||
uint32_t | scltoken | ||
) |
Write a RMAPUTRE record to stream 'wstream'.
References OTF_WStream_writeRMAPutRemoteEndKV().
Referenced by OTF_Writer_writeRMAPutRemoteEnd().
int OTF_WStream_writeRMAPutRemoteEndKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
uint32_t | origin, | ||
uint32_t | target, | ||
uint32_t | communicator, | ||
uint32_t | tag, | ||
uint64_t | bytes, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a RMAPUTRE record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeRMAPutRemoteEndKV(), and OTF_WStream_writeRMAPutRemoteEnd().
int OTF_WStream_writeSendMsg | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | sender, | ||
uint32_t | receiver, | ||
uint32_t | communicator, | ||
uint32_t | msgtype, | ||
uint32_t | msglength, | ||
uint32_t | scltoken | ||
) |
Write a SEND record to stream 'wstream'.
References OTF_WStream_writeSendMsgKV().
Referenced by OTF_Writer_writeSendMsg().
int OTF_WStream_writeSendMsgKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | sender, | ||
uint32_t | receiver, | ||
uint32_t | communicator, | ||
uint32_t | msgtype, | ||
uint32_t | msglength, | ||
uint32_t | scltoken, | ||
OTF_KeyValueList * | list | ||
) |
Write a SEND record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), and OTF_WStream_getEventBuffer().
Referenced by OTF_Writer_writeSendMsgKV(), and OTF_WStream_writeSendMsg().
int OTF_WStream_writeSendSnapshot | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | sender, | ||
uint32_t | receiver, | ||
uint32_t | procGroup, | ||
uint32_t | type, | ||
uint32_t | length, | ||
uint32_t | source | ||
) |
Write a TSEND record to stream 'wstream'.
References OTF_WStream_writeSendSnapshotKV().
Referenced by OTF_Writer_writeSendSnapshot().
int OTF_WStream_writeSendSnapshotKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint64_t | originaltime, | ||
uint32_t | sender, | ||
uint32_t | receiver, | ||
uint32_t | procGroup, | ||
uint32_t | type, | ||
uint32_t | length, | ||
uint32_t | source, | ||
OTF_KeyValueList * | list | ||
) |
Write a TSEND record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeUint32(), OTF_WBuffer_writeUint64(), and OTF_WStream_getSnapshotBuffer().
Referenced by OTF_Writer_writeSendSnapshotKV(), and OTF_WStream_writeSendSnapshot().
int OTF_WStream_writeSnapshotComment | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
const char * | comment | ||
) |
Write a #TCOMMENT record to stream 'wstream'.
References OTF_WStream_writeSnapshotCommentKV().
Referenced by OTF_Writer_writeSnapshotComment().
int OTF_WStream_writeSnapshotCommentKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
const char * | comment, | ||
OTF_KeyValueList * | list | ||
) |
Write a #TCOMMENT record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), and OTF_WStream_getSnapshotBuffer().
Referenced by OTF_Writer_writeSnapshotCommentKV(), and OTF_WStream_writeSnapshotComment().
int OTF_WStream_writeSummaryComment | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
const char * | comment | ||
) |
Write a SUMCOMMENT record to stream 'wstream'.
References OTF_WStream_writeSummaryCommentKV().
Referenced by OTF_Writer_writeSummaryComment().
int OTF_WStream_writeSummaryCommentKV | ( | OTF_WStream * | wstream, |
uint64_t | time, | ||
uint32_t | process, | ||
const char * | comment, | ||
OTF_KeyValueList * | list | ||
) |
Write a SUMCOMMENT record including an OTF_KeyValueList to stream 'wstream'.
References struct_OTF_WStream::format, OTF_WBuffer_setTimeAndProcess(), OTF_WBuffer_writeKeyValueList_long(), OTF_WBuffer_writeKeyValueList_short(), OTF_WBuffer_writeKeyword(), OTF_WBuffer_writeNewline(), OTF_WBuffer_writeString(), and OTF_WStream_getStatsBuffer().
Referenced by OTF_Writer_writeSummaryCommentKV(), and OTF_WStream_writeSummaryComment().