3.0-rc2 (revision 337012f1)
OTF2_GlobalDefWriter.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-2012,
5  * RWTH Aachen University, Germany
6  *
7  * Copyright (c) 2009-2012,
8  * Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
9  *
10  * Copyright (c) 2009-2012, 2014, 2021,
11  * Technische Universitaet Dresden, Germany
12  *
13  * Copyright (c) 2009-2012,
14  * University of Oregon, Eugene, USA
15  *
16  * Copyright (c) 2009-2012,
17  * Forschungszentrum Juelich GmbH, Germany
18  *
19  * Copyright (c) 2009-2012,
20  * German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
21  *
22  * Copyright (c) 2009-2012,
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_GLOBAL_DEF_WRITER_H
33 #define OTF2_GLOBAL_DEF_WRITER_H
34 
35 
52 #include <stdint.h>
53 
54 
55 #include "otf2_compiler.h"
56 
57 
58 #include <otf2/OTF2_ErrorCodes.h>
59 
60 
63 #include <otf2/OTF2_Definitions.h>
64 
65 
66 #ifdef __cplusplus
67 extern "C" {
68 #endif /* __cplusplus */
69 
70 
75 typedef struct OTF2_GlobalDefWriter_struct OTF2_GlobalDefWriter;
76 
77 
88  uint64_t* numberOfDefinitions );
89 
90 
101  uint64_t* numberOfLocations );
102 
103 
128  uint64_t timerResolution,
129  uint64_t globalOffset,
130  uint64_t traceLength,
131  uint64_t realtimeTimestamp );
132 
133 
155  OTF2_Paradigm paradigm,
156  OTF2_StringRef name,
157  OTF2_ParadigmClass paradigmClass );
158 
159 
179  OTF2_Paradigm paradigm,
180  OTF2_ParadigmProperty property,
181  OTF2_Type type,
182  OTF2_AttributeValue value );
183 
184 
222  OTF2_IoParadigmRef self,
223  OTF2_StringRef identification,
224  OTF2_StringRef name,
225  OTF2_IoParadigmClass ioParadigmClass,
226  OTF2_IoParadigmFlag ioParadigmFlags,
227  uint8_t numberOfProperties,
228  const OTF2_IoParadigmProperty* properties,
229  const OTF2_Type* types,
230  const OTF2_AttributeValue* values );
231 
232 
247  OTF2_StringRef self,
248  const char* string );
249 
250 
270  OTF2_AttributeRef self,
271  OTF2_StringRef name,
272  OTF2_StringRef description,
273  OTF2_Type type );
274 
275 
299  OTF2_StringRef name,
300  OTF2_StringRef className,
301  OTF2_SystemTreeNodeRef parent );
302 
303 
336  OTF2_StringRef name,
337  OTF2_LocationGroupType locationGroupType,
338  OTF2_SystemTreeNodeRef systemTreeParent,
339  OTF2_LocationGroupRef creatingLocationGroup );
340 
341 
362  OTF2_LocationRef self,
363  OTF2_StringRef name,
364  OTF2_LocationType locationType,
365  uint64_t numberOfEvents,
366  OTF2_LocationGroupRef locationGroup );
367 
368 
398  OTF2_RegionRef self,
399  OTF2_StringRef name,
400  OTF2_StringRef canonicalName,
401  OTF2_StringRef description,
402  OTF2_RegionRole regionRole,
403  OTF2_Paradigm paradigm,
404  OTF2_RegionFlag regionFlags,
405  OTF2_StringRef sourceFile,
406  uint32_t beginLineNumber,
407  uint32_t endLineNumber );
408 
409 
433  OTF2_CallsiteRef self,
434  OTF2_StringRef sourceFile,
435  uint32_t lineNumber,
436  OTF2_RegionRef enteredRegion,
437  OTF2_RegionRef leftRegion ) __otf2_deprecated__;
438 
439 
458  OTF2_CallpathRef self,
459  OTF2_CallpathRef parent,
460  OTF2_RegionRef region );
461 
462 
485  OTF2_GroupRef self,
486  OTF2_StringRef name,
487  OTF2_GroupType groupType,
488  OTF2_Paradigm paradigm,
489  OTF2_GroupFlag groupFlags,
490  uint32_t numberOfMembers,
491  const uint64_t* members );
492 
493 
541  OTF2_StringRef name,
542  OTF2_StringRef description,
543  OTF2_MetricType metricType,
544  OTF2_MetricMode metricMode,
545  OTF2_Type valueType,
546  OTF2_Base base,
547  int64_t exponent,
548  OTF2_StringRef unit );
549 
550 
574  OTF2_MetricRef self,
575  uint8_t numberOfMetrics,
576  const OTF2_MetricMemberRef* metricMembers,
577  OTF2_MetricOccurrence metricOccurrence,
578  OTF2_RecorderKind recorderKind );
579 
580 
608  OTF2_MetricRef self,
609  OTF2_MetricRef metricClass,
610  OTF2_LocationRef recorder,
611  OTF2_MetricScope metricScope,
612  uint64_t scope );
613 
614 
643  OTF2_CommRef self,
644  OTF2_StringRef name,
645  OTF2_GroupRef group,
646  OTF2_CommRef parent,
647  OTF2_CommFlag flags );
648 
649 
668  OTF2_ParameterRef self,
669  OTF2_StringRef name,
670  OTF2_ParameterType parameterType );
671 
672 
693  OTF2_RmaWinRef self,
694  OTF2_StringRef name,
695  OTF2_CommRef comm,
696  OTF2_RmaWinFlag flags );
697 
698 
717  OTF2_MetricRef metric,
718  OTF2_LocationRef recorder );
719 
720 
741  OTF2_SystemTreeNodeRef systemTreeNode,
742  OTF2_StringRef name,
743  OTF2_Type type,
744  OTF2_AttributeValue value );
745 
746 
764  OTF2_SystemTreeNodeRef systemTreeNode,
765  OTF2_SystemTreeDomain systemTreeDomain );
766 
767 
787  OTF2_LocationGroupRef locationGroup,
788  OTF2_StringRef name,
789  OTF2_Type type,
790  OTF2_AttributeValue value );
791 
792 
812  OTF2_LocationRef location,
813  OTF2_StringRef name,
814  OTF2_Type type,
815  OTF2_AttributeValue value );
816 
817 
838  OTF2_StringRef name,
839  uint32_t size,
840  OTF2_CartPeriodicity cartPeriodicity );
841 
842 
869  OTF2_StringRef name,
870  OTF2_CommRef communicator,
871  uint8_t numberOfDimensions,
872  const OTF2_CartDimensionRef* cartDimensions );
873 
874 
896  OTF2_CartTopologyRef cartTopology,
897  uint32_t rank,
898  uint8_t numberOfDimensions,
899  const uint32_t* coordinates );
900 
901 
926  OTF2_StringRef file,
927  uint32_t lineNumber );
928 
929 
1000  OTF2_RegionRef region,
1001  OTF2_SourceCodeLocationRef sourceCodeLocation,
1002  OTF2_CallingContextRef parent );
1003 
1004 
1025  OTF2_CallingContextRef callingContext,
1026  OTF2_StringRef name,
1027  OTF2_Type type,
1028  OTF2_AttributeValue value );
1029 
1030 
1068  OTF2_StringRef name,
1069  OTF2_InterruptGeneratorMode interruptGeneratorMode,
1070  OTF2_Base base,
1071  int64_t exponent,
1072  uint64_t period );
1073 
1074 
1096  OTF2_IoFileRef ioFile,
1097  OTF2_StringRef name,
1098  OTF2_Type type,
1099  OTF2_AttributeValue value );
1100 
1101 
1127  OTF2_IoFileRef self,
1128  OTF2_StringRef name,
1129  OTF2_SystemTreeNodeRef scope );
1130 
1131 
1159  OTF2_IoFileRef self,
1160  OTF2_StringRef name,
1161  OTF2_SystemTreeNodeRef scope );
1162 
1163 
1203  OTF2_IoHandleRef self,
1204  OTF2_StringRef name,
1205  OTF2_IoFileRef file,
1206  OTF2_IoParadigmRef ioParadigm,
1207  OTF2_IoHandleFlag ioHandleFlags,
1208  OTF2_CommRef comm,
1209  OTF2_IoHandleRef parent );
1210 
1211 
1235  OTF2_IoHandleRef ioHandle,
1236  OTF2_IoAccessMode mode,
1237  OTF2_IoStatusFlag statusFlags );
1238 
1239 
1260  OTF2_CallpathRef callpath,
1261  OTF2_ParameterRef parameter,
1262  OTF2_Type type,
1263  OTF2_AttributeValue value );
1264 
1265 
1300  OTF2_CommRef self,
1301  OTF2_StringRef name,
1302  OTF2_GroupRef groupA,
1303  OTF2_GroupRef groupB,
1304  OTF2_CommRef commonCommunicator,
1305  OTF2_CommFlag flags );
1306 
1307 
1308 #ifdef __cplusplus
1309 }
1310 #endif /* __cplusplus */
1311 
1312 
1313 #endif /* !OTF2_GLOBAL_DEF_WRITER_H */
uint32_t OTF2_GroupFlag
Wrapper for enum OTF2_GroupFlag_enum.
Definition: OTF2_Definitions.h:468
OTF2_ErrorCode OTF2_GlobalDefWriter_GetNumberOfLocations(OTF2_GlobalDefWriter *writerHandle, uint64_t *numberOfLocations)
Returns the current number of written location definitions of a global definition writer...
uint8_t OTF2_ParameterType
Wrapper for enum OTF2_ParameterType_enum.
Definition: OTF2_Definitions.h:750
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteClockProperties(OTF2_GlobalDefWriter *writerHandle, uint64_t timerResolution, uint64_t globalOffset, uint64_t traceLength, uint64_t realtimeTimestamp)
Writes a ClockProperties definition record into the GlobalDefWriter.
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:142
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteIoParadigm(OTF2_GlobalDefWriter *writerHandle, OTF2_IoParadigmRef self, OTF2_StringRef identification, OTF2_StringRef name, OTF2_IoParadigmClass ioParadigmClass, OTF2_IoParadigmFlag ioParadigmFlags, uint8_t numberOfProperties, const OTF2_IoParadigmProperty *properties, const OTF2_Type *types, const OTF2_AttributeValue *values)
Writes a IoParadigm definition record into the GlobalDefWriter.
uint8_t OTF2_ParadigmProperty
Wrapper for enum OTF2_ParadigmProperty_enum.
Definition: OTF2_GeneralDefinitions.h:1005
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteAttribute(OTF2_GlobalDefWriter *writerHandle, OTF2_AttributeRef self, OTF2_StringRef name, OTF2_StringRef description, OTF2_Type type)
Writes a Attribute definition record into the GlobalDefWriter.
uint8_t OTF2_MetricMode
Wrapper for enum OTF2_MetricMode_enum.
Definition: OTF2_Definitions.h:638
uint8_t OTF2_Type
Wrapper for enum OTF2_Type_enum.
Definition: OTF2_GeneralDefinitions.h:596
uint8_t OTF2_Base
Wrapper for enum OTF2_Base_enum.
Definition: OTF2_Definitions.h:492
uint8_t OTF2_Paradigm
Wrapper for enum OTF2_Paradigm_enum.
Definition: OTF2_GeneralDefinitions.h:778
uint32_t OTF2_StringRef
Type used to indicate a reference to a String definition.
Definition: OTF2_GeneralDefinitions.h:118
uint8_t OTF2_IoParadigmRef
Type used to indicate a reference to a IoParadigm definition.
Definition: OTF2_GeneralDefinitions.h:112
uint32_t OTF2_CommFlag
Wrapper for enum OTF2_CommFlag_enum.
Definition: OTF2_Definitions.h:1060
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteMetricMember(OTF2_GlobalDefWriter *writerHandle, OTF2_MetricMemberRef self, OTF2_StringRef name, OTF2_StringRef description, OTF2_MetricType metricType, OTF2_MetricMode metricMode, OTF2_Type valueType, OTF2_Base base, int64_t exponent, OTF2_StringRef unit)
Writes a MetricMember definition record into the GlobalDefWriter.
uint8_t OTF2_RecorderKind
Wrapper for enum OTF2_RecorderKind_enum.
Definition: OTF2_Definitions.h:719
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteRegion(OTF2_GlobalDefWriter *writerHandle, OTF2_RegionRef self, OTF2_StringRef name, OTF2_StringRef canonicalName, OTF2_StringRef description, OTF2_RegionRole regionRole, OTF2_Paradigm paradigm, OTF2_RegionFlag regionFlags, OTF2_StringRef sourceFile, uint32_t beginLineNumber, uint32_t endLineNumber)
Writes a Region definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_GetNumberOfDefinitions(OTF2_GlobalDefWriter *writerHandle, uint64_t *numberOfDefinitions)
Returns the current number of written definitions of a global definition writer.
Declares the OTF2_AttributeValue and provides convenience functions to convert from and to OTF2 enum ...
uint32_t OTF2_ParameterRef
Type used to indicate a reference to a Parameter definition.
Definition: OTF2_GeneralDefinitions.h:190
uint8_t OTF2_RegionRole
Wrapper for enum OTF2_RegionRole_enum.
Definition: OTF2_Definitions.h:192
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteCallpathParameter(OTF2_GlobalDefWriter *writerHandle, OTF2_CallpathRef callpath, OTF2_ParameterRef parameter, OTF2_Type type, OTF2_AttributeValue value)
Writes a CallpathParameter definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteSystemTreeNodeProperty(OTF2_GlobalDefWriter *writerHandle, OTF2_SystemTreeNodeRef systemTreeNode, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a SystemTreeNodeProperty definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteCallsite(OTF2_GlobalDefWriter *writerHandle, OTF2_CallsiteRef self, OTF2_StringRef sourceFile, uint32_t lineNumber, OTF2_RegionRef enteredRegion, OTF2_RegionRef leftRegion)
Writes a Callsite definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteCartTopology(OTF2_GlobalDefWriter *writerHandle, OTF2_CartTopologyRef self, OTF2_StringRef name, OTF2_CommRef communicator, uint8_t numberOfDimensions, const OTF2_CartDimensionRef *cartDimensions)
Writes a CartTopology definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteLocationGroupProperty(OTF2_GlobalDefWriter *writerHandle, OTF2_LocationGroupRef locationGroup, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a LocationGroupProperty definition record into the GlobalDefWriter.
uint32_t OTF2_IoHandleFlag
Wrapper for enum OTF2_IoHandleFlag_enum.
Definition: OTF2_Definitions.h:882
uint32_t OTF2_IoStatusFlag
Wrapper for enum OTF2_IoStatusFlag_enum.
Definition: OTF2_Definitions.h:974
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:54
Data types used in the definition records.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteMetricClass(OTF2_GlobalDefWriter *writerHandle, OTF2_MetricRef self, uint8_t numberOfMetrics, const OTF2_MetricMemberRef *metricMembers, OTF2_MetricOccurrence metricOccurrence, OTF2_RecorderKind recorderKind)
Writes a MetricClass definition record into the GlobalDefWriter.
uint32_t OTF2_InterruptGeneratorRef
Type used to indicate a reference to a InterruptGenerator definition.
Definition: OTF2_GeneralDefinitions.h:226
This header file provides general definitions which should be accessible in all internal and external...
uint8_t OTF2_ParadigmClass
Wrapper for enum OTF2_ParadigmClass_enum.
Definition: OTF2_GeneralDefinitions.h:977
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteCallingContext(OTF2_GlobalDefWriter *writerHandle, OTF2_CallingContextRef self, OTF2_RegionRef region, OTF2_SourceCodeLocationRef sourceCodeLocation, OTF2_CallingContextRef parent)
Writes a CallingContext definition record into the GlobalDefWriter.
uint8_t OTF2_MetricType
Wrapper for enum OTF2_MetricType_enum.
Definition: OTF2_Definitions.h:538
uint32_t OTF2_MetricMemberRef
Type used to indicate a reference to a MetricMember definition.
Definition: OTF2_GeneralDefinitions.h:172
uint32_t OTF2_IoHandleRef
Type used to indicate a reference to a IoHandle definition.
Definition: OTF2_GeneralDefinitions.h:238
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteLocation(OTF2_GlobalDefWriter *writerHandle, OTF2_LocationRef self, OTF2_StringRef name, OTF2_LocationType locationType, uint64_t numberOfEvents, OTF2_LocationGroupRef locationGroup)
Writes a Location definition record into the GlobalDefWriter.
uint8_t OTF2_InterruptGeneratorMode
Wrapper for enum OTF2_InterruptGeneratorMode_enum.
Definition: OTF2_Definitions.h:794
uint32_t OTF2_RmaWinFlag
Wrapper for enum OTF2_RmaWinFlag_enum.
Definition: OTF2_Definitions.h:1081
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteCartDimension(OTF2_GlobalDefWriter *writerHandle, OTF2_CartDimensionRef self, OTF2_StringRef name, uint32_t size, OTF2_CartPeriodicity cartPeriodicity)
Writes a CartDimension definition record into the GlobalDefWriter.
uint32_t OTF2_MetricRef
Type used to indicate a reference to a MetricClass, or a MetricInstance definition.
Definition: OTF2_GeneralDefinitions.h:178
uint8_t OTF2_LocationType
Wrapper for enum OTF2_LocationType_enum.
Definition: OTF2_Definitions.h:157
uint8_t OTF2_MetricOccurrence
Wrapper for enum OTF2_MetricOccurrence_enum.
Definition: OTF2_Definitions.h:512
uint8_t OTF2_LocationGroupType
Wrapper for enum OTF2_LocationGroupType_enum.
Definition: OTF2_Definitions.h:116
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteParameter(OTF2_GlobalDefWriter *writerHandle, OTF2_ParameterRef self, OTF2_StringRef name, OTF2_ParameterType parameterType)
Writes a Parameter definition record into the GlobalDefWriter.
uint8_t OTF2_IoParadigmClass
Wrapper for enum OTF2_IoParadigmClass_enum.
Definition: OTF2_Definitions.h:814
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteCallpath(OTF2_GlobalDefWriter *writerHandle, OTF2_CallpathRef self, OTF2_CallpathRef parent, OTF2_RegionRef region)
Writes a Callpath definition record into the GlobalDefWriter.
uint32_t OTF2_CallingContextRef
Type used to indicate a reference to a CallingContext definition.
Definition: OTF2_GeneralDefinitions.h:220
uint8_t OTF2_GroupType
Wrapper for enum OTF2_GroupType_enum.
Definition: OTF2_Definitions.h:405
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteRmaWin(OTF2_GlobalDefWriter *writerHandle, OTF2_RmaWinRef self, OTF2_StringRef name, OTF2_CommRef comm, OTF2_RmaWinFlag flags)
Writes a RmaWin definition record into the GlobalDefWriter.
Compiler feature test macros.
uint8_t OTF2_MetricScope
Wrapper for enum OTF2_MetricScope_enum.
Definition: OTF2_Definitions.h:691
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteString(OTF2_GlobalDefWriter *writerHandle, OTF2_StringRef self, const char *string)
Writes a String definition record into the GlobalDefWriter.
uint32_t OTF2_IoFileRef
Type used to indicate a reference to a IoRegularFile, or a IoDirectory definition.
Definition: OTF2_GeneralDefinitions.h:232
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteMetricClassRecorder(OTF2_GlobalDefWriter *writerHandle, OTF2_MetricRef metric, OTF2_LocationRef recorder)
Writes a MetricClassRecorder definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteInterruptGenerator(OTF2_GlobalDefWriter *writerHandle, OTF2_InterruptGeneratorRef self, OTF2_StringRef name, OTF2_InterruptGeneratorMode interruptGeneratorMode, OTF2_Base base, int64_t exponent, uint64_t period)
Writes a InterruptGenerator definition record into the GlobalDefWriter.
uint32_t OTF2_SystemTreeNodeRef
Type used to indicate a reference to a SystemTreeNode definition.
Definition: OTF2_GeneralDefinitions.h:130
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteMetricInstance(OTF2_GlobalDefWriter *writerHandle, OTF2_MetricRef self, OTF2_MetricRef metricClass, OTF2_LocationRef recorder, OTF2_MetricScope metricScope, uint64_t scope)
Writes a MetricInstance definition record into the GlobalDefWriter.
uint32_t OTF2_IoParadigmFlag
Wrapper for enum OTF2_IoParadigmFlag_enum.
Definition: OTF2_Definitions.h:843
uint32_t OTF2_CartTopologyRef
Type used to indicate a reference to a CartTopology definition.
Definition: OTF2_GeneralDefinitions.h:208
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteLocationProperty(OTF2_GlobalDefWriter *writerHandle, OTF2_LocationRef location, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a LocationProperty definition record into the GlobalDefWriter.
uint8_t OTF2_CartPeriodicity
Wrapper for enum OTF2_CartPeriodicity_enum.
Definition: OTF2_Definitions.h:774
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteSystemTreeNode(OTF2_GlobalDefWriter *writerHandle, OTF2_SystemTreeNodeRef self, OTF2_StringRef name, OTF2_StringRef className, OTF2_SystemTreeNodeRef parent)
Writes a SystemTreeNode definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteComm(OTF2_GlobalDefWriter *writerHandle, OTF2_CommRef self, OTF2_StringRef name, OTF2_GroupRef group, OTF2_CommRef parent, OTF2_CommFlag flags)
Writes a Comm definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteInterComm(OTF2_GlobalDefWriter *writerHandle, OTF2_CommRef self, OTF2_StringRef name, OTF2_GroupRef groupA, OTF2_GroupRef groupB, OTF2_CommRef commonCommunicator, OTF2_CommFlag flags)
Writes a InterComm definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteCallingContextProperty(OTF2_GlobalDefWriter *writerHandle, OTF2_CallingContextRef callingContext, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a CallingContextProperty definition record into the GlobalDefWriter.
uint32_t OTF2_SourceCodeLocationRef
Type used to indicate a reference to a SourceCodeLocation definition.
Definition: OTF2_GeneralDefinitions.h:214
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteParadigmProperty(OTF2_GlobalDefWriter *writerHandle, OTF2_Paradigm paradigm, OTF2_ParadigmProperty property, OTF2_Type type, OTF2_AttributeValue value)
Writes a ParadigmProperty definition record into the GlobalDefWriter.
struct OTF2_GlobalDefWriter_struct OTF2_GlobalDefWriter
Typedef of the struct which keeps all necessary information of a global definition writer...
Definition: OTF2_GlobalDefWriter.h:75
uint32_t OTF2_CartDimensionRef
Type used to indicate a reference to a CartDimension definition.
Definition: OTF2_GeneralDefinitions.h:202
uint32_t OTF2_CommRef
Type used to indicate a reference to a Comm, or a InterComm definition.
Definition: OTF2_GeneralDefinitions.h:184
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteSystemTreeNodeDomain(OTF2_GlobalDefWriter *writerHandle, OTF2_SystemTreeNodeRef systemTreeNode, OTF2_SystemTreeDomain systemTreeDomain)
Writes a SystemTreeNodeDomain definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteIoDirectory(OTF2_GlobalDefWriter *writerHandle, OTF2_IoFileRef self, OTF2_StringRef name, OTF2_SystemTreeNodeRef scope)
Writes a IoDirectory definition record into the GlobalDefWriter.
uint32_t OTF2_RegionFlag
Wrapper for enum OTF2_RegionFlag_enum.
Definition: OTF2_Definitions.h:378
uint32_t OTF2_RegionRef
Type used to indicate a reference to a Region definition.
Definition: OTF2_GeneralDefinitions.h:148
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteParadigm(OTF2_GlobalDefWriter *writerHandle, OTF2_Paradigm paradigm, OTF2_StringRef name, OTF2_ParadigmClass paradigmClass)
Writes a Paradigm definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteCartCoordinate(OTF2_GlobalDefWriter *writerHandle, OTF2_CartTopologyRef cartTopology, uint32_t rank, uint8_t numberOfDimensions, const uint32_t *coordinates)
Writes a CartCoordinate definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteGroup(OTF2_GlobalDefWriter *writerHandle, OTF2_GroupRef self, OTF2_StringRef name, OTF2_GroupType groupType, OTF2_Paradigm paradigm, OTF2_GroupFlag groupFlags, uint32_t numberOfMembers, const uint64_t *members)
Writes a Group definition record into the GlobalDefWriter.
uint32_t OTF2_GroupRef
Type used to indicate a reference to a Group definition.
Definition: OTF2_GeneralDefinitions.h:166
uint8_t OTF2_IoAccessMode
Wrapper for enum OTF2_IoAccessMode_enum.
Definition: OTF2_Definitions.h:925
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteIoRegularFile(OTF2_GlobalDefWriter *writerHandle, OTF2_IoFileRef self, OTF2_StringRef name, OTF2_SystemTreeNodeRef scope)
Writes a IoRegularFile definition record into the GlobalDefWriter.
uint32_t OTF2_AttributeRef
Type used to indicate a reference to a Attribute definition.
Definition: OTF2_GeneralDefinitions.h:124
Error codes and error handling.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteSourceCodeLocation(OTF2_GlobalDefWriter *writerHandle, OTF2_SourceCodeLocationRef self, OTF2_StringRef file, uint32_t lineNumber)
Writes a SourceCodeLocation definition record into the GlobalDefWriter.
uint8_t OTF2_IoParadigmProperty
Wrapper for enum OTF2_IoParadigmProperty_enum.
Definition: OTF2_Definitions.h:864
uint32_t OTF2_RmaWinRef
Type used to indicate a reference to a RmaWin definition.
Definition: OTF2_GeneralDefinitions.h:196
Value container for an attributes.
Definition: OTF2_AttributeValue.h:52
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteIoPreCreatedHandleState(OTF2_GlobalDefWriter *writerHandle, OTF2_IoHandleRef ioHandle, OTF2_IoAccessMode mode, OTF2_IoStatusFlag statusFlags)
Writes a IoPreCreatedHandleState definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteLocationGroup(OTF2_GlobalDefWriter *writerHandle, OTF2_LocationGroupRef self, OTF2_StringRef name, OTF2_LocationGroupType locationGroupType, OTF2_SystemTreeNodeRef systemTreeParent, OTF2_LocationGroupRef creatingLocationGroup)
Writes a LocationGroup definition record into the GlobalDefWriter.
uint32_t OTF2_CallpathRef
Type used to indicate a reference to a Callpath definition.
Definition: OTF2_GeneralDefinitions.h:160
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteIoHandle(OTF2_GlobalDefWriter *writerHandle, OTF2_IoHandleRef self, OTF2_StringRef name, OTF2_IoFileRef file, OTF2_IoParadigmRef ioParadigm, OTF2_IoHandleFlag ioHandleFlags, OTF2_CommRef comm, OTF2_IoHandleRef parent)
Writes a IoHandle definition record into the GlobalDefWriter.
OTF2_ErrorCode OTF2_GlobalDefWriter_WriteIoFileProperty(OTF2_GlobalDefWriter *writerHandle, OTF2_IoFileRef ioFile, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a IoFileProperty definition record into the GlobalDefWriter.
uint32_t OTF2_CallsiteRef
Type used to indicate a reference to a Callsite definition.
Definition: OTF2_GeneralDefinitions.h:154
uint32_t OTF2_LocationGroupRef
Type used to indicate a reference to a LocationGroup definition.
Definition: OTF2_GeneralDefinitions.h:136
uint8_t OTF2_SystemTreeDomain
Wrapper for enum OTF2_SystemTreeDomain_enum.
Definition: OTF2_Definitions.h:59