142 uint32_t zbuffersizes;
383 const char* comment );
398 uint64_t ticksPerSecond );
412 const char* name, uint32_t parent );
426 const char* name, uint32_t n,
const uint32_t* array );
433 const char* name, uint32_t n,
const uint32_t* array,
OTF_KeyValueList* list );
454 uint32_t proc_token, uint32_t attr_token );
468 const char* name, uint32_t group, uint32_t scltoken );
475 const char* name, uint32_t group, uint32_t scltoken,
OTF_KeyValueList* list );
482 uint32_t deftoken,
const char* name );
496 uint32_t collOp,
const char* name, uint32_t type );
510 const char* name, uint32_t properties, uint32_t countergroup,
518 const char* name, uint32_t properties, uint32_t countergroup,
526 uint32_t deftoken,
const char* name );
540 uint32_t sclfile, uint32_t sclline );
554 uint32_t deftoken,
const char* filename );
586 const char* name, uint32_t group );
614 OTF_Type type,
const char* name,
const char *description );
621 OTF_Type type,
const char* name,
const char *description,
639 uint32_t counter_token, uint32_t number_of_members,
648 uint32_t representative, uint32_t numberOfProcs,
const uint32_t* procs,
667 uint32_t statetoken, uint32_t cpuid, uint32_t scltoken );
674 uint32_t statetoken, uint32_t cpuid, uint32_t scltoken,
OTF_KeyValueList* list );
681 uint32_t receiver, uint32_t sender, uint32_t communicator,
682 uint32_t msgtype, uint32_t msglength, uint32_t scltoken );
689 uint32_t receiver, uint32_t sender, uint32_t communicator,
690 uint32_t msgtype, uint32_t msglength, uint32_t scltoken,
OTF_KeyValueList* list );
697 uint32_t sender, uint32_t receiver, uint32_t communicator,
698 uint32_t msgtype, uint32_t msglength, uint32_t scltoken );
705 uint32_t sender, uint32_t receiver, uint32_t communicator,
706 uint32_t msgtype, uint32_t msglength, uint32_t scltoken,
OTF_KeyValueList* list );
713 uint32_t statetoken, uint32_t cpuid, uint32_t scltoken );
720 uint32_t statetoken, uint32_t cpuid, uint32_t scltoken,
OTF_KeyValueList* list );
727 uint32_t process, uint32_t counter_token, uint64_t value );
734 uint32_t process, uint32_t counter_token, uint64_t value,
OTF_KeyValueList* list );
742 uint32_t process, uint32_t functionToken, uint32_t communicator,
743 uint32_t rootprocess, uint32_t sent, uint32_t received,
744 uint64_t duration, uint32_t scltoken );
752 uint32_t process, uint32_t functionToken, uint32_t communicator,
753 uint32_t rootprocess, uint32_t sent, uint32_t received,
761 uint64_t time, uint32_t process, uint32_t collOp,
762 uint64_t matchingId, uint32_t procGroup, uint32_t rootProc,
763 uint64_t sent, uint64_t received, uint32_t scltoken );
770 uint64_t time, uint32_t process, uint32_t collOp,
771 uint64_t matchingId, uint32_t procGroup, uint32_t rootProc,
772 uint64_t sent, uint64_t received, uint32_t scltoken,
OTF_KeyValueList* list );
779 uint64_t time, uint32_t process, uint64_t matchingId );
786 uint64_t time, uint32_t process, uint64_t matchingId,
OTF_KeyValueList* list );
793 uint32_t process,
const char* comment );
836 uint32_t fileid, uint32_t process, uint64_t handleid, uint32_t operation,
837 uint64_t bytes, uint64_t duration, uint32_t source );
845 uint32_t fileid, uint32_t process, uint64_t handleid, uint32_t operation,
846 uint64_t bytes, uint64_t duration, uint32_t source,
OTF_KeyValueList* list );
853 uint32_t process, uint64_t matchingId, uint32_t scltoken );
860 uint32_t process, uint64_t matchingId, uint32_t scltoken,
OTF_KeyValueList* list );
867 uint32_t process, uint32_t fileid, uint64_t matchingId,
868 uint64_t handleId, uint32_t operation, uint64_t bytes,
876 uint32_t process, uint32_t fileid, uint64_t matchingId,
877 uint64_t handleId, uint32_t operation, uint64_t bytes,
885 uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator,
886 uint32_t tag, uint64_t bytes, uint32_t scltoken );
893 uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator,
901 uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator,
902 uint32_t tag, uint64_t bytes, uint32_t scltoken );
909 uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator,
917 uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator,
918 uint32_t tag, uint64_t bytes, uint32_t scltoken );
925 uint32_t process, uint32_t origin, uint32_t target, uint32_t communicator,
933 uint32_t process, uint32_t remote, uint32_t communicator, uint32_t tag,
941 uint32_t process, uint32_t remote, uint32_t communicator, uint32_t tag,
953 uint32_t process,
const char* comment );
967 uint64_t originaltime, uint32_t statetoken, uint32_t cpuid, uint32_t scltoken );
974 uint64_t originaltime, uint32_t statetoken, uint32_t cpuid, uint32_t scltoken,
OTF_KeyValueList* list );
981 uint64_t originaltime, uint32_t sender, uint32_t receiver,
982 uint32_t procGroup, uint32_t type, uint32_t length, uint32_t source );
989 uint64_t originaltime, uint32_t sender, uint32_t receiver,
990 uint32_t procGroup, uint32_t type, uint32_t length,
998 uint64_t originaltime, uint32_t fileid, uint32_t process, uint64_t handleid,
1006 uint64_t originaltime, uint32_t fileid, uint32_t process, uint64_t handleid,
1015 uint64_t originaltime, uint32_t process, uint32_t collOp, uint64_t matchingId,
1016 uint32_t procGroup, uint32_t rootProc, uint64_t sent, uint64_t received,
1017 uint32_t scltoken );
1025 uint64_t originaltime, uint32_t process, uint32_t collOp, uint64_t matchingId,
1026 uint32_t procGroup, uint32_t rootProc, uint64_t sent, uint64_t received,
1035 uint64_t originaltime, uint32_t process, uint64_t matchingId, uint32_t scltoken );
1042 uint64_t originaltime, uint32_t process, uint64_t matchingId,
1055 uint32_t process,
const char* comment );
1069 uint64_t time, uint32_t
function, uint32_t process,
1070 uint64_t count, uint64_t excltime, uint64_t incltime );
1077 uint64_t time, uint32_t
function, uint32_t process,
1078 uint64_t count, uint64_t excltime, uint64_t incltime,
OTF_KeyValueList* list );
1085 uint64_t time, uint32_t functiongroup, uint32_t process,
1086 uint64_t count, uint64_t excltime, uint64_t incltime );
1093 uint64_t time, uint32_t functiongroup, uint32_t process,
1094 uint64_t count, uint64_t excltime, uint64_t incltime,
OTF_KeyValueList* list );
1101 uint64_t time, uint32_t process, uint32_t peer,
1102 uint32_t comm, uint32_t tag, uint64_t number_sent, uint64_t number_recved,
1103 uint64_t bytes_sent, uint64_t bytes_recved );
1110 uint64_t time, uint32_t process, uint32_t peer,
1111 uint32_t comm, uint32_t tag, uint64_t number_sent, uint64_t number_recved,
1119 uint64_t time, uint32_t process, uint32_t comm, uint32_t collective,
1120 uint64_t number_sent, uint64_t number_recved, uint64_t bytes_sent, uint64_t bytes_recved );
1127 uint64_t time, uint32_t process, uint32_t comm, uint32_t collective,
1128 uint64_t number_sent, uint64_t number_recved, uint64_t bytes_sent, uint64_t bytes_recved,
OTF_KeyValueList* list );
1135 uint32_t fileid, uint32_t process, uint64_t nopen, uint64_t nclose,
1136 uint64_t nread, uint64_t nwrite, uint64_t nseek, uint64_t bytesread,
1137 uint64_t byteswrite );
1144 uint32_t fileid, uint32_t process, uint64_t nopen, uint64_t nclose,
1145 uint64_t nread, uint64_t nwrite, uint64_t nseek, uint64_t bytesread,
1153 uint32_t groupid, uint32_t process, uint64_t nopen, uint64_t nclose,
1154 uint64_t nread, uint64_t nwrite, uint64_t nseek, uint64_t bytesread,
1155 uint64_t byteswrite );
1162 uint32_t groupid, uint32_t process, uint64_t nopen, uint64_t nclose,
1163 uint64_t nread, uint64_t nwrite, uint64_t nseek, uint64_t bytesread,
OTF_FileCompression compression
Default compression method for all buffers managed by this stream.
Definition: OTF_WStream.h:135
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'.
Definition: OTF_WStream.c:3691
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'.
Definition: OTF_WStream.c:2267
uint32_t id
Unique id for the current stream.
Definition: OTF_WStream.h:102
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'.
Definition: OTF_WStream.c:3254
OTF_WBuffer * eventBuffer
Event buffer.
Definition: OTF_WStream.h:115
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'.
Definition: OTF_WStream.c:4089
OTF_WBuffer * defBuffer
Definitions buffer.
Definition: OTF_WStream.h:111
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'.
Definition: OTF_WStream.c:2462
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'.
Definition: OTF_WStream.c:2193
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'.
Definition: OTF_WStream.c:3799
int OTF_WStream_writeDefMarker(OTF_WStream *wstream, uint32_t token, const char *name, uint32_t type)
Write a def marker record to stream 'wstream'.
Definition: OTF_WStream.c:4212
int OTF_WStream_writeDefTimerResolution(OTF_WStream *wstream, uint64_t ticksPerSecond)
Write a DEFTIMERRESOLUTION record to stream 'wstream'.
Definition: OTF_WStream.c:862
OTF_WBuffer * OTF_WStream_getMarkerBuffer(OTF_WStream *wstream)
Returns the marker buffer of the according writer stream.
Definition: OTF_WStream.c:561
OTF_WBuffer * OTF_WStream_getStatsBuffer(OTF_WStream *wstream)
Returns the statistics buffer of the according writer stream.
Definition: OTF_WStream.c:490
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'.
Definition: OTF_WStream.c:2965
int OTF_WStream_writeDefProcess(OTF_WStream *wstream, uint32_t deftoken, const char *name, uint32_t parent)
Write a DEFPROCESS record to stream 'wstream'.
Definition: OTF_WStream.c:942
void OTF_WStream_setZBufferSizes(OTF_WStream *wstream, uint32_t size)
Set the default zbuffer size for all files managed by this writer stream.
Definition: OTF_WStream.c:712
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'.
Definition: OTF_WStream.c:4002
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'.
Definition: OTF_WStream.c:1920
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'.
Definition: OTF_WStream.c:2034
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'.
Definition: OTF_WStream.c:1758
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'.
Definition: OTF_WStream.c:2335
int OTF_WStream_setCompression(OTF_WStream *wstream, OTF_FileCompression compression)
Set the standard compression method for all buffers managed by this writer stream.
Definition: OTF_WStream.c:632
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'.
Definition: OTF_WStream.c:1219
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'.
Definition: OTF_WStream.c:3042
int OTF_WStream_writeDefCreator(OTF_WStream *wstream, const char *creator)
Write a DEFCREATOR record to stream 'wstream'.
Definition: OTF_WStream.c:1688
uint32_t buffersizes
Default size of buffers managed by this WStream.
Definition: OTF_WStream.h:138
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'.
Definition: OTF_WStream.c:2699
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'. ...
Definition: OTF_WStream.c:949
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'.
Definition: OTF_WStream.c:2874
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'.
Definition: OTF_WStream.c:1470
int OTF_WStream_writeDefSclFile(OTF_WStream *wstream, uint32_t deftoken, const char *filename)
Write a DEFSCLFILE record to stream 'wstream'.
Definition: OTF_WStream.c:1583
uint32_t OTF_WStream_getBufferSizes(OTF_WStream *wstream)
Get the default buffer size for all buffers managed by this writer stream.
Definition: OTF_WStream.c:705
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'.
Definition: OTF_WStream.c:2612
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'.
Definition: OTF_WStream.c:2342
int OTF_WStream_writeDefCollectiveOperation(OTF_WStream *wstream, uint32_t collOp, const char *name, uint32_t type)
Write a DEFCOLLECTIVEOPERATION record to stream 'wstream'.
Definition: OTF_WStream.c:1332
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'.
Definition: OTF_WStream.c:1819
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'.
Definition: OTF_WStream.c:2472
uint32_t OTF_WStream_getZBufferSizes(OTF_WStream *wstream)
Get the default zbuffer size for all files managed by this writer stream.
Definition: OTF_WStream.c:745
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'.
Definition: OTF_WStream.c:3932
int OTF_WStream_writeDefFileGroup(OTF_WStream *wstream, uint32_t token, const char *name)
Write a DEFFILEGROUP record to stream 'wstream'.
Definition: OTF_WStream.c:1812
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'.
Definition: OTF_WStream.c:1212
int OTF_WStream_writeSummaryComment(OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment)
Write a SUMCOMMENT record to stream 'wstream'.
Definition: OTF_WStream.c:3741
OTF_FileManager * manager
file handle manager
Definition: OTF_WStream.h:146
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'.
Definition: OTF_WStream.c:2955
int OTF_WStream_writeDefProcessOrGroupAttributes(OTF_WStream *wstream, uint32_t proc_token, uint32_t attr_token)
Write a DEFPROCESSORGROUPATTR record to stream 'wstream'.
Definition: OTF_WStream.c:1136
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'.
Definition: OTF_WStream.c:3868
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'.
Definition: OTF_WStream.c:2203
OTF_WBuffer * OTF_WStream_getSnapshotBuffer(OTF_WStream *wstream)
Returns the snapshots buffer of the according writer stream.
Definition: OTF_WStream.c:415
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'.
Definition: OTF_WStream.c:2822
void OTF_WStream_setFormat(OTF_WStream *wstream, uint32_t format)
Set the default ouput format.
Definition: OTF_WStream.c:756
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'.
Definition: OTF_WStream.c:2128
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'.
Definition: OTF_WStream.c:3266
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'.
Definition: OTF_WStream.c:3704
enum OTF_ATTR_TYPE_enum OTF_ATTR_TYPE
An enum which holds all values that are possible to set with datatype OTF_ATTR_TYPE().
int OTF_WStream_writeBeginProcess(OTF_WStream *wstream, uint64_t time, uint32_t process)
Write a PROCESSBEGIN record to stream 'wstream'.
Definition: OTF_WStream.c:2692
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'.
Definition: OTF_WStream.c:3032
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'.
Definition: OTF_WStream.c:3310
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'.
Definition: OTF_WStream.c:1403
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'.
Definition: OTF_WStream.c:2742
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'.
Definition: OTF_WStream.c:2121
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'.
Definition: OTF_WStream.c:3453
int OTF_WStream_writeDefFile(OTF_WStream *wstream, uint32_t token, const char *name, uint32_t group)
Write a DEFFILE record to stream 'wstream'.
Definition: OTF_WStream.c:1752
char * namestub
name stub: all files will begin with this name
Definition: OTF_WStream.h:99
enum OTF_Type_enum OTF_Type
An enum which holds all OTF datatypes that are relevant for OTF_KeyValueList.
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'.
Definition: OTF_WStream.c:2882
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'. ...
Definition: OTF_WStream.c:1412
int OTF_WStream_writeDefinitionComment(OTF_WStream *wstream, const char *comment)
Write a DEFINITIONCOMMENT record to stream 'wstream'.
Definition: OTF_WStream.c:817
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'.
Definition: OTF_WStream.c:3186
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'.
Definition: OTF_WStream.c:1083
int OTF_WStream_writeDefCounterGroup(OTF_WStream *wstream, uint32_t deftoken, const char *name)
Write a DEFCOUNTERGROUP record to stream 'wstream'.
Definition: OTF_WStream.c:1463
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'.
Definition: OTF_WStream.c:1090
OTF_WBuffer * OTF_WStream_getDefBuffer(OTF_WStream *wstream)
Returns the definition buffer of the according writer stream.
Definition: OTF_WStream.c:263
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'.
Definition: OTF_WStream.c:1968
int OTF_WStream_writeDefinitionCommentKV(OTF_WStream *wstream, const char *comment, OTF_KeyValueList *list)
Write a DEFINITIONCOMMENT record including an OTF_KeyValueList to stream 'wstream'.
Definition: OTF_WStream.c:780
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'.
Definition: OTF_WStream.c:4168
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'.
Definition: OTF_WStream.c:3109
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'.
Definition: OTF_WStream.c:3534
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'.
Definition: OTF_WStream.c:1878
Provides write access to trace buffers.
OTF_WBuffer * OTF_WStream_getEventBuffer(OTF_WStream *wstream)
Returns the event buffer of the according writer stream.
Definition: OTF_WStream.c:339
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'.
Definition: OTF_WStream.c:1871
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'.
Definition: OTF_WStream.c:869
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'.
Definition: OTF_WStream.c:1025
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'.
Definition: OTF_WStream.c:2554
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'.
Definition: OTF_WStream.c:3462
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'.
Definition: OTF_WStream.c:2565
OTF_FileCompression OTF_WStream_getCompression(OTF_WStream *wstream)
Return the standard compression method for all buffers managed by this writer stream.
Definition: OTF_WStream.c:667
int OTF_WStream_flush(OTF_WStream *wstream)
Flush an OTF_WStream instance, i.e.
Definition: OTF_WStream.c:229
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'.
Definition: OTF_WStream.c:3623
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'.
Definition: OTF_WStream.c:2276
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'.
Definition: OTF_WStream.c:1277
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'.
Definition: OTF_WStream.c:3859
OTF_WBuffer * statsBuffer
Statistics buffer.
Definition: OTF_WStream.h:127
int OTF_WStream_writeOtfVersion(OTF_WStream *wstream)
Write a DEFVERSION record to stream 'wstream'.
Definition: OTF_WStream.c:1644
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'.
Definition: OTF_WStream.c:3943
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'.
Definition: OTF_WStream.c:4156
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'.
Definition: OTF_WStream.c:1339
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'.
Definition: OTF_WStream.c:2391
int OTF_WStream_writeSnapshotComment(OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment)
Write a #TCOMMENT record to stream 'wstream'.
Definition: OTF_WStream.c:3303
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'.
Definition: OTF_WStream.c:3119
int OTF_WStream_writeEndCollectiveOperation(OTF_WStream *wstream, uint64_t time, uint32_t process, uint64_t matchingId)
Write a COLLOPEND record to stream 'wstream'.
Definition: OTF_WStream.c:2605
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'.
Definition: OTF_WStream.c:3526
int OTF_WStream_close(OTF_WStream *wstream)
Close an OTF_WStream instance and all its related files.
Definition: OTF_WStream.c:206
Definition: OTF_WBuffer.h:36
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'.
Definition: OTF_WStream.c:3808
Definition: OTF_WStream.h:95
OTF_WStream * OTF_WStream_open(const char *namestub, uint32_t id, OTF_FileManager *manager)
Create a new OTF_WStream instance.
Definition: OTF_WStream.c:169
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'.
Definition: OTF_WStream.c:3633
int OTF_WStream_writeDefFunctionGroup(OTF_WStream *wstream, uint32_t deftoken, const char *name)
Write a DEFFUNCTIONGROUP record to stream 'wstream'.
Definition: OTF_WStream.c:1270
OTF_WBuffer * markerBuffer
Marker buffer.
Definition: OTF_WStream.h:132
struct OTF_KeyValueList_struct OTF_KeyValueList
Object type which holds a key-value list.
Definition: OTF_KeyValue.h:242
int OTF_WStream_writeDefTimerResolutionKV(OTF_WStream *wstream, uint64_t ticksPerSecond, OTF_KeyValueList *list)
Write a DEFTIMERRESOLUTION record including an OTF_KeyValueList to stream 'wstream'.
Definition: OTF_WStream.c:824
int OTF_WStream_writeDefScl(OTF_WStream *wstream, uint32_t deftoken, uint32_t sclfile, uint32_t sclline)
Write a DEFSCL record to stream 'wstream'.
Definition: OTF_WStream.c:1525
Provides many many macros for different purposes.
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'.
Definition: OTF_WStream.c:2069
int OTF_WStream_writeDefCreatorKV(OTF_WStream *wstream, const char *creator, OTF_KeyValueList *list)
Write a DEFCREATOR record including an OTF_KeyValueList to stream 'wstream'.
Definition: OTF_WStream.c:1651
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'.
Definition: OTF_WStream.c:3376
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'.
Definition: OTF_WStream.c:4220
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'.
Definition: OTF_WStream.c:4012
file handles management structure
Definition: OTF_FileManager.c:32
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'.
Definition: OTF_WStream.c:3368
uint32_t OTF_WStream_getFormat(OTF_WStream *wstream)
Get the default output format.
Definition: OTF_WStream.c:770
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'.
Definition: OTF_WStream.c:1532
Handles file naming issues.
void OTF_WStream_setBufferSizes(OTF_WStream *wstream, uint32_t size)
Set the default buffer size for all buffers managed by this writer stream.
Definition: OTF_WStream.c:677
int OTF_WStream_writeEventComment(OTF_WStream *wstream, uint64_t time, uint32_t process, const char *comment)
Write a #EVTCOMMENT record to stream 'wstream'.
Definition: OTF_WStream.c:2649
uint32_t format
State wether to use long or short format, see OTF_WSTREAM_FORMAT_XXX macros above.
Definition: OTF_WStream.h:106
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'.
Definition: OTF_WStream.c:3748
Deals with all data type related issues.
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'.
Definition: OTF_WStream.c:4079
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'.
Definition: OTF_WStream.c:2656
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'.
Definition: OTF_WStream.c:1018
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'.
Definition: OTF_WStream.c:3196
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'.
Definition: OTF_WStream.c:2813
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'.
Definition: OTF_WStream.c:1694
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'.
Definition: OTF_WStream.c:2384
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'.
Definition: OTF_WStream.c:1143
OTF_WBuffer * snapsBuffer
Snaps (snapshots) buffer.
Definition: OTF_WStream.h:121
int OTF_WStream_writeEndProcess(OTF_WStream *wstream, uint64_t time, uint32_t process)
Write a PROCESSEND record to stream 'wstream'.
Definition: OTF_WStream.c:2735
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'.
Definition: OTF_WStream.c:4271