2.0 (revision 4408)
OTF2_EvtWriter.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software (http://www.score-p.org)
3  *
4  * Copyright (c) 2009-2013,
5  * RWTH Aachen University, Germany
6  *
7  * Copyright (c) 2009-2013,
8  * Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
9  *
10  * Copyright (c) 2009-2013,
11  * Technische Universitaet Dresden, Germany
12  *
13  * Copyright (c) 2009-2013,
14  * University of Oregon, Eugene, USA
15  *
16  * Copyright (c) 2009-2013,
17  * Forschungszentrum Juelich GmbH, Germany
18  *
19  * Copyright (c) 2009-2013,
20  * German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
21  *
22  * Copyright (c) 2009-2013,
23  * Technische Universitaet Muenchen, Germany
24  *
25  * This software may be modified and distributed under the terms of
26  * a BSD-style license. See the COPYING file in the package base
27  * directory for details.
28  *
29  */
30 
31 
32 #ifndef OTF2_EVT_WRITER_H
33 #define OTF2_EVT_WRITER_H
34 
35 
46 #include <stdint.h>
47 
48 
49 #include <otf2/OTF2_ErrorCodes.h>
50 
51 
52 #include <otf2/OTF2_Events.h>
54 
55 
56 #ifdef __cplusplus
57 extern "C" {
58 #endif /* __cplusplus */
59 
60 
63 typedef struct OTF2_EvtWriter_struct OTF2_EvtWriter;
64 
65 
76  OTF2_LocationRef* locationID );
77 
78 
90  void* userData );
91 
92 
103  void** userData );
104 
105 
118  OTF2_LocationRef location );
119 
120 
134  uint64_t* numberOfEvents );
135 
136 
153  OTF2_AttributeList* attributeList,
154  OTF2_TimeStamp time,
155  OTF2_TimeStamp stopTime );
156 
157 
176  OTF2_AttributeList* attributeList,
177  OTF2_TimeStamp time,
178  OTF2_MeasurementMode measurementMode );
179 
180 
199  OTF2_AttributeList* attributeList,
200  OTF2_TimeStamp time,
201  OTF2_RegionRef region );
202 
203 
222  OTF2_AttributeList* attributeList,
223  OTF2_TimeStamp time,
224  OTF2_RegionRef region );
225 
226 
251  OTF2_AttributeList* attributeList,
252  OTF2_TimeStamp time,
253  uint32_t receiver,
254  OTF2_CommRef communicator,
255  uint32_t msgTag,
256  uint64_t msgLength );
257 
258 
284  OTF2_AttributeList* attributeList,
285  OTF2_TimeStamp time,
286  uint32_t receiver,
287  OTF2_CommRef communicator,
288  uint32_t msgTag,
289  uint64_t msgLength,
290  uint64_t requestID );
291 
292 
308  OTF2_AttributeList* attributeList,
309  OTF2_TimeStamp time,
310  uint64_t requestID );
311 
312 
328  OTF2_AttributeList* attributeList,
329  OTF2_TimeStamp time,
330  uint64_t requestID );
331 
332 
357  OTF2_AttributeList* attributeList,
358  OTF2_TimeStamp time,
359  uint32_t sender,
360  OTF2_CommRef communicator,
361  uint32_t msgTag,
362  uint64_t msgLength );
363 
364 
390  OTF2_AttributeList* attributeList,
391  OTF2_TimeStamp time,
392  uint32_t sender,
393  OTF2_CommRef communicator,
394  uint32_t msgTag,
395  uint64_t msgLength,
396  uint64_t requestID );
397 
398 
415  OTF2_AttributeList* attributeList,
416  OTF2_TimeStamp time,
417  uint64_t requestID );
418 
419 
435  OTF2_AttributeList* attributeList,
436  OTF2_TimeStamp time,
437  uint64_t requestID );
438 
439 
455  OTF2_AttributeList* attributeList,
456  OTF2_TimeStamp time );
457 
458 
484  OTF2_AttributeList* attributeList,
485  OTF2_TimeStamp time,
486  OTF2_CollectiveOp collectiveOp,
487  OTF2_CommRef communicator,
488  uint32_t root,
489  uint64_t sizeSent,
490  uint64_t sizeReceived );
491 
492 
514  OTF2_AttributeList* attributeList,
515  OTF2_TimeStamp time,
516  uint32_t numberOfRequestedThreads );
517 
518 
540  OTF2_AttributeList* attributeList,
541  OTF2_TimeStamp time );
542 
543 
570  OTF2_AttributeList* attributeList,
571  OTF2_TimeStamp time,
572  uint32_t lockID,
573  uint32_t acquisitionOrder );
574 
575 
602  OTF2_AttributeList* attributeList,
603  OTF2_TimeStamp time,
604  uint32_t lockID,
605  uint32_t acquisitionOrder );
606 
607 
630  OTF2_AttributeList* attributeList,
631  OTF2_TimeStamp time,
632  uint64_t taskID );
633 
634 
659  OTF2_AttributeList* attributeList,
660  OTF2_TimeStamp time,
661  uint64_t taskID );
662 
663 
686  OTF2_AttributeList* attributeList,
687  OTF2_TimeStamp time,
688  uint64_t taskID );
689 
690 
718  OTF2_AttributeList* attributeList,
719  OTF2_TimeStamp time,
720  OTF2_MetricRef metric,
721  uint8_t numberOfMetrics,
722  const OTF2_Type* typeIDs,
723  const OTF2_MetricValue* metricValues );
724 
725 
749  OTF2_AttributeList* attributeList,
750  OTF2_TimeStamp time,
751  OTF2_ParameterRef parameter,
752  OTF2_StringRef string );
753 
754 
775  OTF2_AttributeList* attributeList,
776  OTF2_TimeStamp time,
777  OTF2_ParameterRef parameter,
778  int64_t value );
779 
780 
801  OTF2_AttributeList* attributeList,
802  OTF2_TimeStamp time,
803  OTF2_ParameterRef parameter,
804  uint64_t value );
805 
806 
825  OTF2_AttributeList* attributeList,
826  OTF2_TimeStamp time,
827  OTF2_RmaWinRef win );
828 
829 
848  OTF2_AttributeList* attributeList,
849  OTF2_TimeStamp time,
850  OTF2_RmaWinRef win );
851 
852 
868  OTF2_AttributeList* attributeList,
869  OTF2_TimeStamp time );
870 
871 
896  OTF2_AttributeList* attributeList,
897  OTF2_TimeStamp time,
898  OTF2_CollectiveOp collectiveOp,
899  OTF2_RmaSyncLevel syncLevel,
900  OTF2_RmaWinRef win,
901  uint32_t root,
902  uint64_t bytesSent,
903  uint64_t bytesReceived );
904 
905 
930  OTF2_AttributeList* attributeList,
931  OTF2_TimeStamp time,
932  OTF2_RmaSyncLevel syncLevel,
933  OTF2_RmaWinRef win,
934  OTF2_GroupRef group );
935 
936 
962  OTF2_AttributeList* attributeList,
963  OTF2_TimeStamp time,
964  OTF2_RmaWinRef win,
965  uint32_t remote,
966  uint64_t lockId,
967  OTF2_LockType lockType );
968 
969 
993  OTF2_AttributeList* attributeList,
994  OTF2_TimeStamp time,
995  OTF2_RmaWinRef win,
996  uint32_t remote,
997  uint64_t lockId,
998  OTF2_LockType lockType );
999 
1000 
1024  OTF2_AttributeList* attributeList,
1025  OTF2_TimeStamp time,
1026  OTF2_RmaWinRef win,
1027  uint32_t remote,
1028  uint64_t lockId,
1029  OTF2_LockType lockType );
1030 
1031 
1053  OTF2_AttributeList* attributeList,
1054  OTF2_TimeStamp time,
1055  OTF2_RmaWinRef win,
1056  uint32_t remote,
1057  uint64_t lockId );
1058 
1059 
1081  OTF2_AttributeList* attributeList,
1082  OTF2_TimeStamp time,
1083  OTF2_RmaWinRef win,
1084  uint32_t remote,
1085  OTF2_RmaSyncType syncType );
1086 
1087 
1107  OTF2_AttributeList* attributeList,
1108  OTF2_TimeStamp time,
1109  OTF2_RmaWinRef win );
1110 
1111 
1134  OTF2_AttributeList* attributeList,
1135  OTF2_TimeStamp time,
1136  OTF2_RmaWinRef win,
1137  uint32_t remote,
1138  uint64_t bytes,
1139  uint64_t matchingId );
1140 
1141 
1164  OTF2_AttributeList* attributeList,
1165  OTF2_TimeStamp time,
1166  OTF2_RmaWinRef win,
1167  uint32_t remote,
1168  uint64_t bytes,
1169  uint64_t matchingId );
1170 
1171 
1196  OTF2_AttributeList* attributeList,
1197  OTF2_TimeStamp time,
1198  OTF2_RmaWinRef win,
1199  uint32_t remote,
1200  OTF2_RmaAtomicType type,
1201  uint64_t bytesSent,
1202  uint64_t bytesReceived,
1203  uint64_t matchingId );
1204 
1205 
1227  OTF2_AttributeList* attributeList,
1228  OTF2_TimeStamp time,
1229  OTF2_RmaWinRef win,
1230  uint64_t matchingId );
1231 
1232 
1254  OTF2_AttributeList* attributeList,
1255  OTF2_TimeStamp time,
1256  OTF2_RmaWinRef win,
1257  uint64_t matchingId );
1258 
1259 
1281  OTF2_AttributeList* attributeList,
1282  OTF2_TimeStamp time,
1283  OTF2_RmaWinRef win,
1284  uint64_t matchingId );
1285 
1286 
1308  OTF2_AttributeList* attributeList,
1309  OTF2_TimeStamp time,
1310  OTF2_RmaWinRef win,
1311  uint64_t matchingId );
1312 
1313 
1330  OTF2_AttributeList* attributeList,
1331  OTF2_TimeStamp time,
1332  OTF2_Paradigm model,
1333  uint32_t numberOfRequestedThreads );
1334 
1335 
1352  OTF2_AttributeList* attributeList,
1353  OTF2_TimeStamp time,
1354  OTF2_Paradigm model );
1355 
1356 
1374  OTF2_AttributeList* attributeList,
1375  OTF2_TimeStamp time,
1376  OTF2_CommRef threadTeam );
1377 
1378 
1396  OTF2_AttributeList* attributeList,
1397  OTF2_TimeStamp time,
1398  OTF2_CommRef threadTeam );
1399 
1400 
1422  OTF2_AttributeList* attributeList,
1423  OTF2_TimeStamp time,
1424  OTF2_Paradigm model,
1425  uint32_t lockID,
1426  uint32_t acquisitionOrder );
1427 
1428 
1450  OTF2_AttributeList* attributeList,
1451  OTF2_TimeStamp time,
1452  OTF2_Paradigm model,
1453  uint32_t lockID,
1454  uint32_t acquisitionOrder );
1455 
1456 
1479  OTF2_AttributeList* attributeList,
1480  OTF2_TimeStamp time,
1481  OTF2_CommRef threadTeam,
1482  uint32_t creatingThread,
1483  uint32_t generationNumber );
1484 
1485 
1510  OTF2_AttributeList* attributeList,
1511  OTF2_TimeStamp time,
1512  OTF2_CommRef threadTeam,
1513  uint32_t creatingThread,
1514  uint32_t generationNumber );
1515 
1516 
1539  OTF2_AttributeList* attributeList,
1540  OTF2_TimeStamp time,
1541  OTF2_CommRef threadTeam,
1542  uint32_t creatingThread,
1543  uint32_t generationNumber );
1544 
1545 
1567  OTF2_AttributeList* attributeList,
1568  OTF2_TimeStamp time,
1569  OTF2_CommRef threadContingent,
1570  uint64_t sequenceCount );
1571 
1572 
1594  OTF2_AttributeList* attributeList,
1595  OTF2_TimeStamp time,
1596  OTF2_CommRef threadContingent,
1597  uint64_t sequenceCount );
1598 
1599 
1621  OTF2_AttributeList* attributeList,
1622  OTF2_TimeStamp time,
1623  OTF2_CommRef threadContingent,
1624  uint64_t sequenceCount );
1625 
1626 
1650  OTF2_AttributeList* attributeList,
1651  OTF2_TimeStamp time,
1652  OTF2_CommRef threadContingent,
1653  uint64_t sequenceCount );
1654 
1655 
1690  OTF2_AttributeList* attributeList,
1691  OTF2_TimeStamp time,
1692  OTF2_CallingContextRef callingContext,
1693  uint32_t unwindDistance );
1694 
1695 
1735  OTF2_AttributeList* attributeList,
1736  OTF2_TimeStamp time,
1737  OTF2_CallingContextRef callingContext );
1738 
1739 
1772  OTF2_AttributeList* attributeList,
1773  OTF2_TimeStamp time,
1774  OTF2_CallingContextRef callingContext,
1775  uint32_t unwindDistance,
1776  OTF2_InterruptGeneratorRef interruptGenerator );
1777 
1778 
1790  uint32_t rewindId );
1791 
1792 
1804  uint32_t rewindId );
1805 
1806 
1818  uint32_t rewindId );
1819 
1820 
1821 #ifdef __cplusplus
1822 }
1823 #endif /* __cplusplus */
1824 
1825 
1826 #endif /* !OTF2_EVT_WRITER_H */
uint8_t OTF2_RmaSyncType
Wrapper for enum OTF2_RmaSyncType_enum.
Definition: OTF2_Events.h:164
OTF2_ErrorCode OTF2_EvtWriter_RmaOpTest(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint64_t matchingId)
Records a RmaOpTest event.
OTF2_ErrorCode OTF2_EvtWriter_ThreadCreate(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Records a ThreadCreate event.
OTF2_ErrorCode OTF2_EvtWriter_StoreRewindPoint(OTF2_EvtWriter *writer, uint32_t rewindId)
Please give me a documentation.
OTF2_ErrorCode OTF2_EvtWriter_GetNumberOfEvents(OTF2_EvtWriter *writer, uint64_t *numberOfEvents)
Get the number of events.
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:125
OTF2_ErrorCode OTF2_EvtWriter_RmaGet(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Records a RmaGet event.
OTF2_ErrorCode OTF2_EvtWriter_SetLocationID(OTF2_EvtWriter *writer, OTF2_LocationRef location)
The location ID is not always known on measurement start, and only needed on the first buffer flush t...
uint8_t OTF2_Type
Wrapper for enum OTF2_Type_enum.
Definition: OTF2_GeneralDefinitions.h:525
OTF2_ErrorCode OTF2_EvtWriter_ThreadTaskSwitch(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Records a ThreadTaskSwitch event.
OTF2_ErrorCode OTF2_EvtWriter_RmaOpCompleteRemote(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint64_t matchingId)
Records a RmaOpCompleteRemote event.
uint8_t OTF2_Paradigm
Wrapper for enum OTF2_Paradigm_enum.
Definition: OTF2_GeneralDefinitions.h:661
OTF2_ErrorCode OTF2_EvtWriter_RmaCollectiveEnd(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CollectiveOp collectiveOp, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, uint32_t root, uint64_t bytesSent, uint64_t bytesReceived)
Records a RmaCollectiveEnd event.
uint32_t OTF2_StringRef
Type used to indicate a reference to a String definition.
Definition: OTF2_GeneralDefinitions.h:101
OTF2_ErrorCode OTF2_EvtWriter_RmaTryLock(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Records a RmaTryLock event.
OTF2_ErrorCode OTF2_EvtWriter_MpiIrecvRequest(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint64_t requestID)
Records a MpiIrecvRequest event.
OTF2_ErrorCode OTF2_EvtWriter_RmaAtomic(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaAtomicType type, uint64_t bytesSent, uint64_t bytesReceived, uint64_t matchingId)
Records a RmaAtomic event.
Enums and types used in event records.
uint8_t OTF2_MeasurementMode
Wrapper for enum OTF2_MeasurementMode_enum.
Definition: OTF2_Events.h:56
Metric value.
Definition: OTF2_Events.h:269
uint32_t OTF2_ParameterRef
Type used to indicate a reference to a Parameter definition.
Definition: OTF2_GeneralDefinitions.h:173
This layer enables dynamic appending of arbitrary attributes to any type of event record...
uint8_t OTF2_RmaAtomicType
Wrapper for enum OTF2_RmaAtomicType_enum.
Definition: OTF2_Events.h:229
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:186
OTF2_ErrorCode OTF2_EvtWriter_ParameterString(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_ParameterRef parameter, OTF2_StringRef string)
Records a ParameterString event.
OTF2_ErrorCode OTF2_EvtWriter_MpiCollectiveBegin(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time)
Records a MpiCollectiveBegin event.
struct OTF2_AttributeList_struct OTF2_AttributeList
Attribute list handle.
Definition: OTF2_AttributeList.h:104
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:54
OTF2_ErrorCode OTF2_EvtWriter_ThreadTaskComplete(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Records a ThreadTaskComplete event.
OTF2_ErrorCode OTF2_EvtWriter_OmpTaskComplete(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint64_t taskID)
Records a OmpTaskComplete event.
OTF2_ErrorCode OTF2_EvtWriter_RmaGroupSync(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group)
Records a RmaGroupSync event.
OTF2_ErrorCode OTF2_EvtWriter_GetLocationID(const OTF2_EvtWriter *writer, OTF2_LocationRef *locationID)
Function to get the location ID of a writer object.
OTF2_ErrorCode OTF2_EvtWriter_OmpReleaseLock(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint32_t lockID, uint32_t acquisitionOrder)
Records a OmpReleaseLock event.
uint32_t OTF2_InterruptGeneratorRef
Type used to indicate a reference to a InterruptGenerator definition.
Definition: OTF2_GeneralDefinitions.h:209
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:209
OTF2_ErrorCode OTF2_EvtWriter_ThreadTeamBegin(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadTeam)
Records a ThreadTeamBegin event.
OTF2_ErrorCode OTF2_EvtWriter_ThreadTaskCreate(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Records a ThreadTaskCreate event.
OTF2_ErrorCode OTF2_EvtWriter_MpiIsendComplete(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint64_t requestID)
Records a MpiIsendComplete event.
OTF2_ErrorCode OTF2_EvtWriter_RmaRequestLock(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Records a RmaRequestLock event.
uint64_t OTF2_TimeStamp
OTF2 time stamp.
Definition: OTF2_GeneralDefinitions.h:95
OTF2_ErrorCode OTF2_EvtWriter_RmaWaitChange(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win)
Records a RmaWaitChange event.
OTF2_ErrorCode OTF2_EvtWriter_ParameterUnsignedInt(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_ParameterRef parameter, uint64_t value)
Records a ParameterUnsignedInt event.
OTF2_ErrorCode OTF2_EvtWriter_Leave(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RegionRef region)
Records a Leave event.
OTF2_ErrorCode OTF2_EvtWriter_MpiIsend(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Records a MpiIsend event.
OTF2_ErrorCode OTF2_EvtWriter_RmaAcquireLock(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Records a RmaAcquireLock event.
uint32_t OTF2_MetricRef
Type used to indicate a reference to a MetricClass, or a MetricInstance definition.
Definition: OTF2_GeneralDefinitions.h:161
OTF2_ErrorCode OTF2_EvtWriter_OmpAcquireLock(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint32_t lockID, uint32_t acquisitionOrder)
Records a OmpAcquireLock event.
OTF2_ErrorCode OTF2_EvtWriter_MpiRequestCancelled(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint64_t requestID)
Records a MpiRequestCancelled event.
OTF2_ErrorCode OTF2_EvtWriter_RmaReleaseLock(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId)
Records a RmaReleaseLock event.
OTF2_ErrorCode OTF2_EvtWriter_OmpJoin(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time)
Records a OmpJoin event.
OTF2_ErrorCode OTF2_EvtWriter_OmpFork(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint32_t numberOfRequestedThreads)
Records a OmpFork event.
uint32_t OTF2_CallingContextRef
Type used to indicate a reference to a CallingContext definition.
Definition: OTF2_GeneralDefinitions.h:203
OTF2_ErrorCode OTF2_EvtWriter_SetUserData(OTF2_EvtWriter *writer, void *userData)
Function to set user defined data to a writer object.
OTF2_ErrorCode OTF2_EvtWriter_RmaOpCompleteNonBlocking(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint64_t matchingId)
Records a RmaOpCompleteNonBlocking event.
OTF2_ErrorCode OTF2_EvtWriter_MpiCollectiveEnd(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived)
Records a MpiCollectiveEnd event.
uint8_t OTF2_CollectiveOp
Wrapper for enum OTF2_CollectiveOp_enum.
Definition: OTF2_Events.h:75
OTF2_ErrorCode OTF2_EvtWriter_MpiRequestTest(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint64_t requestID)
Records a MpiRequestTest event.
OTF2_ErrorCode OTF2_EvtWriter_OmpTaskSwitch(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint64_t taskID)
Records a OmpTaskSwitch event.
OTF2_ErrorCode OTF2_EvtWriter_OmpTaskCreate(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint64_t taskID)
Records a OmpTaskCreate event.
OTF2_ErrorCode OTF2_EvtWriter_ThreadEnd(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Records a ThreadEnd event.
OTF2_ErrorCode OTF2_EvtWriter_Metric(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_MetricRef metric, uint8_t numberOfMetrics, const OTF2_Type *typeIDs, const OTF2_MetricValue *metricValues)
Records a Metric event.
OTF2_ErrorCode OTF2_EvtWriter_RmaWinCreate(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win)
Records a RmaWinCreate event.
OTF2_ErrorCode OTF2_EvtWriter_Enter(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RegionRef region)
Records a Enter event.
OTF2_ErrorCode OTF2_EvtWriter_MpiSend(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Records a MpiSend event.
OTF2_ErrorCode OTF2_EvtWriter_GetUserData(const OTF2_EvtWriter *writer, void **userData)
Function to get the location of a writer object.
OTF2_ErrorCode OTF2_EvtWriter_ThreadWait(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Records a ThreadWait event.
OTF2_ErrorCode OTF2_EvtWriter_MpiIrecv(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Records a MpiIrecv event.
OTF2_ErrorCode OTF2_EvtWriter_CallingContextEnter(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CallingContextRef callingContext, uint32_t unwindDistance)
Records a CallingContextEnter event.
OTF2_ErrorCode OTF2_EvtWriter_CallingContextLeave(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CallingContextRef callingContext)
Records a CallingContextLeave event.
OTF2_ErrorCode OTF2_EvtWriter_ThreadJoin(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_Paradigm model)
Records a ThreadJoin event.
OTF2_ErrorCode OTF2_EvtWriter_RmaCollectiveBegin(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time)
Records a RmaCollectiveBegin event.
OTF2_ErrorCode OTF2_EvtWriter_RmaWinDestroy(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win)
Records a RmaWinDestroy event.
OTF2_ErrorCode OTF2_EvtWriter_ClearRewindPoint(OTF2_EvtWriter *writer, uint32_t rewindId)
Please give me a documentation.
struct OTF2_EvtWriter_struct OTF2_EvtWriter
Keeps all necessary information about the event writer. See OTF2_EvtWriter_struct for detailed inform...
Definition: OTF2_EvtWriter.h:63
OTF2_ErrorCode OTF2_EvtWriter_ThreadAcquireLock(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Records a ThreadAcquireLock event.
uint32_t OTF2_CommRef
Type used to indicate a reference to a Comm definition.
Definition: OTF2_GeneralDefinitions.h:167
OTF2_ErrorCode OTF2_EvtWriter_BufferFlush(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_TimeStamp stopTime)
Records a BufferFlush event.
uint32_t OTF2_RegionRef
Type used to indicate a reference to a Region definition.
Definition: OTF2_GeneralDefinitions.h:131
OTF2_ErrorCode OTF2_EvtWriter_ThreadReleaseLock(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Records a ThreadReleaseLock event.
OTF2_ErrorCode OTF2_EvtWriter_ThreadFork(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_Paradigm model, uint32_t numberOfRequestedThreads)
Records a ThreadFork event.
OTF2_ErrorCode OTF2_EvtWriter_Rewind(OTF2_EvtWriter *writer, uint32_t rewindId)
Please give me a documentation.
OTF2_ErrorCode OTF2_EvtWriter_RmaPut(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Records a RmaPut event.
uint32_t OTF2_GroupRef
Type used to indicate a reference to a Group definition.
Definition: OTF2_GeneralDefinitions.h:149
OTF2_ErrorCode OTF2_EvtWriter_ThreadTeamEnd(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadTeam)
Records a ThreadTeamEnd event.
OTF2_ErrorCode OTF2_EvtWriter_MpiRecv(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Records a MpiRecv event.
OTF2_ErrorCode OTF2_EvtWriter_RmaSync(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType)
Records a RmaSync event.
OTF2_ErrorCode OTF2_EvtWriter_CallingContextSample(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator)
Records a CallingContextSample event.
OTF2_ErrorCode OTF2_EvtWriter_RmaOpCompleteBlocking(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_RmaWinRef win, uint64_t matchingId)
Records a RmaOpCompleteBlocking event.
Error codes and error handling.
uint32_t OTF2_RmaWinRef
Type used to indicate a reference to a RmaWin definition.
Definition: OTF2_GeneralDefinitions.h:179
OTF2_ErrorCode OTF2_EvtWriter_ParameterInt(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_ParameterRef parameter, int64_t value)
Records a ParameterInt event.
OTF2_ErrorCode OTF2_EvtWriter_ThreadBegin(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Records a ThreadBegin event.
OTF2_ErrorCode OTF2_EvtWriter_MeasurementOnOff(OTF2_EvtWriter *writer, OTF2_AttributeList *attributeList, OTF2_TimeStamp time, OTF2_MeasurementMode measurementMode)
Records a MeasurementOnOff event.