3.0-rc2 (revision 337012f1)
OTF2_DefWriter.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_DEF_WRITER_H
33 #define OTF2_DEF_WRITER_H
34 
35 
45 #include <stdint.h>
46 
47 
48 #include "otf2_compiler.h"
49 
50 
51 #include <otf2/OTF2_ErrorCodes.h>
52 
53 
56 #include <otf2/OTF2_Definitions.h>
57 #include <otf2/OTF2_IdMap.h>
58 
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif /* __cplusplus */
63 
64 
66 typedef struct OTF2_DefWriter_struct OTF2_DefWriter;
67 
68 
80  OTF2_LocationRef* location );
81 
82 
100  OTF2_MappingType mappingType,
101  const OTF2_IdMap* idMap );
102 
103 
121  OTF2_TimeStamp time,
122  int64_t offset,
123  double standardDeviation );
124 
125 
140  OTF2_StringRef self,
141  const char* string );
142 
143 
163  OTF2_AttributeRef self,
164  OTF2_StringRef name,
165  OTF2_StringRef description,
166  OTF2_Type type );
167 
168 
192  OTF2_StringRef name,
193  OTF2_StringRef className,
194  OTF2_SystemTreeNodeRef parent );
195 
196 
229  OTF2_StringRef name,
230  OTF2_LocationGroupType locationGroupType,
231  OTF2_SystemTreeNodeRef systemTreeParent,
232  OTF2_LocationGroupRef creatingLocationGroup );
233 
234 
255  OTF2_LocationRef self,
256  OTF2_StringRef name,
257  OTF2_LocationType locationType,
258  uint64_t numberOfEvents,
259  OTF2_LocationGroupRef locationGroup );
260 
261 
291  OTF2_RegionRef self,
292  OTF2_StringRef name,
293  OTF2_StringRef canonicalName,
294  OTF2_StringRef description,
295  OTF2_RegionRole regionRole,
296  OTF2_Paradigm paradigm,
297  OTF2_RegionFlag regionFlags,
298  OTF2_StringRef sourceFile,
299  uint32_t beginLineNumber,
300  uint32_t endLineNumber );
301 
302 
326  OTF2_CallsiteRef self,
327  OTF2_StringRef sourceFile,
328  uint32_t lineNumber,
329  OTF2_RegionRef enteredRegion,
330  OTF2_RegionRef leftRegion ) __otf2_deprecated__;
331 
332 
350  OTF2_CallpathRef self,
351  OTF2_CallpathRef parent,
352  OTF2_RegionRef region );
353 
354 
377  OTF2_GroupRef self,
378  OTF2_StringRef name,
379  OTF2_GroupType groupType,
380  OTF2_Paradigm paradigm,
381  OTF2_GroupFlag groupFlags,
382  uint32_t numberOfMembers,
383  const uint64_t* members );
384 
385 
431  OTF2_StringRef name,
432  OTF2_StringRef description,
433  OTF2_MetricType metricType,
434  OTF2_MetricMode metricMode,
435  OTF2_Type valueType,
436  OTF2_Base base,
437  int64_t exponent,
438  OTF2_StringRef unit );
439 
440 
464  OTF2_MetricRef self,
465  uint8_t numberOfMetrics,
466  const OTF2_MetricMemberRef* metricMembers,
467  OTF2_MetricOccurrence metricOccurrence,
468  OTF2_RecorderKind recorderKind );
469 
470 
498  OTF2_MetricRef self,
499  OTF2_MetricRef metricClass,
500  OTF2_LocationRef recorder,
501  OTF2_MetricScope metricScope,
502  uint64_t scope );
503 
504 
530  OTF2_CommRef self,
531  OTF2_StringRef name,
532  OTF2_GroupRef group,
533  OTF2_CommRef parent,
534  OTF2_CommFlag flags );
535 
536 
555  OTF2_ParameterRef self,
556  OTF2_StringRef name,
557  OTF2_ParameterType parameterType );
558 
559 
579  OTF2_RmaWinRef self,
580  OTF2_StringRef name,
581  OTF2_CommRef comm,
582  OTF2_RmaWinFlag flags );
583 
584 
603  OTF2_MetricRef metric,
604  OTF2_LocationRef recorder );
605 
606 
627  OTF2_SystemTreeNodeRef systemTreeNode,
628  OTF2_StringRef name,
629  OTF2_Type type,
630  OTF2_AttributeValue value );
631 
632 
650  OTF2_SystemTreeNodeRef systemTreeNode,
651  OTF2_SystemTreeDomain systemTreeDomain );
652 
653 
673  OTF2_LocationGroupRef locationGroup,
674  OTF2_StringRef name,
675  OTF2_Type type,
676  OTF2_AttributeValue value );
677 
678 
698  OTF2_LocationRef location,
699  OTF2_StringRef name,
700  OTF2_Type type,
701  OTF2_AttributeValue value );
702 
703 
724  OTF2_StringRef name,
725  uint32_t size,
726  OTF2_CartPeriodicity cartPeriodicity );
727 
728 
755  OTF2_StringRef name,
756  OTF2_CommRef communicator,
757  uint8_t numberOfDimensions,
758  const OTF2_CartDimensionRef* cartDimensions );
759 
760 
782  OTF2_CartTopologyRef cartTopology,
783  uint32_t rank,
784  uint8_t numberOfDimensions,
785  const uint32_t* coordinates );
786 
787 
812  OTF2_StringRef file,
813  uint32_t lineNumber );
814 
815 
886  OTF2_RegionRef region,
887  OTF2_SourceCodeLocationRef sourceCodeLocation,
888  OTF2_CallingContextRef parent );
889 
890 
911  OTF2_CallingContextRef callingContext,
912  OTF2_StringRef name,
913  OTF2_Type type,
914  OTF2_AttributeValue value );
915 
916 
954  OTF2_StringRef name,
955  OTF2_InterruptGeneratorMode interruptGeneratorMode,
956  OTF2_Base base,
957  int64_t exponent,
958  uint64_t period );
959 
960 
982  OTF2_IoFileRef ioFile,
983  OTF2_StringRef name,
984  OTF2_Type type,
985  OTF2_AttributeValue value );
986 
987 
1012  OTF2_IoFileRef self,
1013  OTF2_StringRef name,
1014  OTF2_SystemTreeNodeRef scope );
1015 
1016 
1041  OTF2_IoFileRef self,
1042  OTF2_StringRef name,
1043  OTF2_SystemTreeNodeRef scope );
1044 
1045 
1085  OTF2_IoHandleRef self,
1086  OTF2_StringRef name,
1087  OTF2_IoFileRef file,
1088  OTF2_IoParadigmRef ioParadigm,
1089  OTF2_IoHandleFlag ioHandleFlags,
1090  OTF2_CommRef comm,
1091  OTF2_IoHandleRef parent );
1092 
1093 
1116  OTF2_IoHandleRef ioHandle,
1117  OTF2_IoAccessMode mode,
1118  OTF2_IoStatusFlag statusFlags );
1119 
1120 
1141  OTF2_CallpathRef callpath,
1142  OTF2_ParameterRef parameter,
1143  OTF2_Type type,
1144  OTF2_AttributeValue value );
1145 
1146 
1181  OTF2_CommRef self,
1182  OTF2_StringRef name,
1183  OTF2_GroupRef groupA,
1184  OTF2_GroupRef groupB,
1185  OTF2_CommRef commonCommunicator,
1186  OTF2_CommFlag flags );
1187 
1188 
1189 #ifdef __cplusplus
1190 }
1191 #endif /* __cplusplus */
1192 
1193 
1194 #endif /* !OTF2_DEF_WRITER_H */
uint32_t OTF2_GroupFlag
Wrapper for enum OTF2_GroupFlag_enum.
Definition: OTF2_Definitions.h:468
OTF2_ErrorCode OTF2_DefWriter_WriteIoPreCreatedHandleState(OTF2_DefWriter *writer, OTF2_IoHandleRef ioHandle, OTF2_IoAccessMode mode, OTF2_IoStatusFlag statusFlags)
Writes a IoPreCreatedHandleState definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteMetricClassRecorder(OTF2_DefWriter *writer, OTF2_MetricRef metric, OTF2_LocationRef recorder)
Writes a MetricClassRecorder definition record into the DefWriter.
uint8_t OTF2_ParameterType
Wrapper for enum OTF2_ParameterType_enum.
Definition: OTF2_Definitions.h:750
OTF2_ErrorCode OTF2_DefWriter_WriteGroup(OTF2_DefWriter *writer, 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 DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteLocationProperty(OTF2_DefWriter *writer, OTF2_LocationRef location, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a LocationProperty definition record into the DefWriter.
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:142
OTF2_ErrorCode OTF2_DefWriter_WriteCallsite(OTF2_DefWriter *writer, OTF2_CallsiteRef self, OTF2_StringRef sourceFile, uint32_t lineNumber, OTF2_RegionRef enteredRegion, OTF2_RegionRef leftRegion)
Writes a Callsite definition record into the DefWriter.
uint8_t OTF2_MetricMode
Wrapper for enum OTF2_MetricMode_enum.
Definition: OTF2_Definitions.h:638
OTF2_ErrorCode OTF2_DefWriter_WriteInterComm(OTF2_DefWriter *writer, 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 DefWriter.
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
OTF2_ErrorCode OTF2_DefWriter_WriteIoDirectory(OTF2_DefWriter *writer, OTF2_IoFileRef self, OTF2_StringRef name, OTF2_SystemTreeNodeRef scope)
Writes a IoDirectory definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteClockOffset(OTF2_DefWriter *writer, OTF2_TimeStamp time, int64_t offset, double standardDeviation)
Writes a ClockOffset definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteAttribute(OTF2_DefWriter *writer, OTF2_AttributeRef self, OTF2_StringRef name, OTF2_StringRef description, OTF2_Type type)
Writes a Attribute definition record into the DefWriter.
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
uint8_t OTF2_RecorderKind
Wrapper for enum OTF2_RecorderKind_enum.
Definition: OTF2_Definitions.h:719
uint8_t OTF2_MappingType
Wrapper for enum OTF2_MappingType_enum.
Definition: OTF2_GeneralDefinitions.h:506
OTF2_ErrorCode OTF2_DefWriter_GetLocationID(const OTF2_DefWriter *writer, OTF2_LocationRef *location)
Returns the location ID of the location which is related to the writer object.
Declares the OTF2_AttributeValue and provides convenience functions to convert from and to OTF2 enum ...
OTF2_ErrorCode OTF2_DefWriter_WriteCartDimension(OTF2_DefWriter *writer, OTF2_CartDimensionRef self, OTF2_StringRef name, uint32_t size, OTF2_CartPeriodicity cartPeriodicity)
Writes a CartDimension definition record into the DefWriter.
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_DefWriter_WriteRmaWin(OTF2_DefWriter *writer, OTF2_RmaWinRef self, OTF2_StringRef name, OTF2_CommRef comm, OTF2_RmaWinFlag flags)
Writes a RmaWin definition record into the DefWriter.
uint32_t OTF2_IoHandleFlag
Wrapper for enum OTF2_IoHandleFlag_enum.
Definition: OTF2_Definitions.h:882
OTF2_ErrorCode OTF2_DefWriter_WriteIoRegularFile(OTF2_DefWriter *writer, OTF2_IoFileRef self, OTF2_StringRef name, OTF2_SystemTreeNodeRef scope)
Writes a IoRegularFile definition record into the DefWriter.
uint32_t OTF2_IoStatusFlag
Wrapper for enum OTF2_IoStatusFlag_enum.
Definition: OTF2_Definitions.h:974
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:54
OTF2_ErrorCode OTF2_DefWriter_WriteMetricClass(OTF2_DefWriter *writer, OTF2_MetricRef self, uint8_t numberOfMetrics, const OTF2_MetricMemberRef *metricMembers, OTF2_MetricOccurrence metricOccurrence, OTF2_RecorderKind recorderKind)
Writes a MetricClass definition record into the DefWriter.
Data types used in the definition records.
OTF2_ErrorCode OTF2_DefWriter_WriteString(OTF2_DefWriter *writer, OTF2_StringRef self, const char *string)
Writes a String definition record into the DefWriter.
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...
OTF2_ErrorCode OTF2_DefWriter_WriteCallpathParameter(OTF2_DefWriter *writer, OTF2_CallpathRef callpath, OTF2_ParameterRef parameter, OTF2_Type type, OTF2_AttributeValue value)
Writes a CallpathParameter definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteSystemTreeNodeProperty(OTF2_DefWriter *writer, OTF2_SystemTreeNodeRef systemTreeNode, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a SystemTreeNodeProperty definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteComm(OTF2_DefWriter *writer, OTF2_CommRef self, OTF2_StringRef name, OTF2_GroupRef group, OTF2_CommRef parent, OTF2_CommFlag flags)
Writes a Comm definition record into the DefWriter.
uint8_t OTF2_MetricType
Wrapper for enum OTF2_MetricType_enum.
Definition: OTF2_Definitions.h:538
struct OTF2_DefWriter_struct OTF2_DefWriter
Handle definition for the external definition writer.
Definition: OTF2_DefWriter.h:66
OTF2_ErrorCode OTF2_DefWriter_WriteLocationGroup(OTF2_DefWriter *writer, OTF2_LocationGroupRef self, OTF2_StringRef name, OTF2_LocationGroupType locationGroupType, OTF2_SystemTreeNodeRef systemTreeParent, OTF2_LocationGroupRef creatingLocationGroup)
Writes a LocationGroup definition record into the DefWriter.
uint64_t OTF2_TimeStamp
OTF2 time stamp.
Definition: OTF2_GeneralDefinitions.h:106
OTF2_ErrorCode OTF2_DefWriter_WriteCallingContextProperty(OTF2_DefWriter *writer, OTF2_CallingContextRef callingContext, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a CallingContextProperty definition record into the DefWriter.
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_DefWriter_WriteRegion(OTF2_DefWriter *writer, 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 DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteMetricMember(OTF2_DefWriter *writer, 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 DefWriter.
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_DefWriter_WriteMetricInstance(OTF2_DefWriter *writer, OTF2_MetricRef self, OTF2_MetricRef metricClass, OTF2_LocationRef recorder, OTF2_MetricScope metricScope, uint64_t scope)
Writes a MetricInstance definition record into the DefWriter.
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_DefWriter_WriteSourceCodeLocation(OTF2_DefWriter *writer, OTF2_SourceCodeLocationRef self, OTF2_StringRef file, uint32_t lineNumber)
Writes a SourceCodeLocation definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteLocation(OTF2_DefWriter *writer, OTF2_LocationRef self, OTF2_StringRef name, OTF2_LocationType locationType, uint64_t numberOfEvents, OTF2_LocationGroupRef locationGroup)
Writes a Location definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteCartTopology(OTF2_DefWriter *writer, OTF2_CartTopologyRef self, OTF2_StringRef name, OTF2_CommRef communicator, uint8_t numberOfDimensions, const OTF2_CartDimensionRef *cartDimensions)
Writes a CartTopology definition record into the DefWriter.
uint32_t OTF2_CallingContextRef
Type used to indicate a reference to a CallingContext definition.
Definition: OTF2_GeneralDefinitions.h:220
OTF2_ErrorCode OTF2_DefWriter_WriteIoHandle(OTF2_DefWriter *writer, 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 DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteCartCoordinate(OTF2_DefWriter *writer, OTF2_CartTopologyRef cartTopology, uint32_t rank, uint8_t numberOfDimensions, const uint32_t *coordinates)
Writes a CartCoordinate definition record into the DefWriter.
uint8_t OTF2_GroupType
Wrapper for enum OTF2_GroupType_enum.
Definition: OTF2_Definitions.h:405
OTF2_ErrorCode OTF2_DefWriter_WriteCallingContext(OTF2_DefWriter *writer, OTF2_CallingContextRef self, OTF2_RegionRef region, OTF2_SourceCodeLocationRef sourceCodeLocation, OTF2_CallingContextRef parent)
Writes a CallingContext definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteSystemTreeNodeDomain(OTF2_DefWriter *writer, OTF2_SystemTreeNodeRef systemTreeNode, OTF2_SystemTreeDomain systemTreeDomain)
Writes a SystemTreeNodeDomain definition record into the DefWriter.
Compiler feature test macros.
uint8_t OTF2_MetricScope
Wrapper for enum OTF2_MetricScope_enum.
Definition: OTF2_Definitions.h:691
Identifier mapping data structure, based on Scalasca's epk_idmap.h.
uint32_t OTF2_IoFileRef
Type used to indicate a reference to a IoRegularFile, or a IoDirectory definition.
Definition: OTF2_GeneralDefinitions.h:232
uint32_t OTF2_SystemTreeNodeRef
Type used to indicate a reference to a SystemTreeNode definition.
Definition: OTF2_GeneralDefinitions.h:130
OTF2_ErrorCode OTF2_DefWriter_WriteSystemTreeNode(OTF2_DefWriter *writer, OTF2_SystemTreeNodeRef self, OTF2_StringRef name, OTF2_StringRef className, OTF2_SystemTreeNodeRef parent)
Writes a SystemTreeNode definition record into the DefWriter.
uint32_t OTF2_CartTopologyRef
Type used to indicate a reference to a CartTopology definition.
Definition: OTF2_GeneralDefinitions.h:208
uint8_t OTF2_CartPeriodicity
Wrapper for enum OTF2_CartPeriodicity_enum.
Definition: OTF2_Definitions.h:774
struct OTF2_IdMap_struct OTF2_IdMap
Definition: OTF2_IdMap.h:67
OTF2_ErrorCode OTF2_DefWriter_WriteInterruptGenerator(OTF2_DefWriter *writer, 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 DefWriter.
uint32_t OTF2_SourceCodeLocationRef
Type used to indicate a reference to a SourceCodeLocation definition.
Definition: OTF2_GeneralDefinitions.h:214
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
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_DefWriter_WriteIoFileProperty(OTF2_DefWriter *writer, OTF2_IoFileRef ioFile, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a IoFileProperty definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteLocationGroupProperty(OTF2_DefWriter *writer, OTF2_LocationGroupRef locationGroup, OTF2_StringRef name, OTF2_Type type, OTF2_AttributeValue value)
Writes a LocationGroupProperty definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteCallpath(OTF2_DefWriter *writer, OTF2_CallpathRef self, OTF2_CallpathRef parent, OTF2_RegionRef region)
Writes a Callpath definition record into the DefWriter.
OTF2_ErrorCode OTF2_DefWriter_WriteParameter(OTF2_DefWriter *writer, OTF2_ParameterRef self, OTF2_StringRef name, OTF2_ParameterType parameterType)
Writes a Parameter definition record into the DefWriter.
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
uint32_t OTF2_AttributeRef
Type used to indicate a reference to a Attribute definition.
Definition: OTF2_GeneralDefinitions.h:124
Error codes and error handling.
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
uint32_t OTF2_CallpathRef
Type used to indicate a reference to a Callpath definition.
Definition: OTF2_GeneralDefinitions.h:160
uint32_t OTF2_CallsiteRef
Type used to indicate a reference to a Callsite definition.
Definition: OTF2_GeneralDefinitions.h:154
OTF2_ErrorCode OTF2_DefWriter_WriteMappingTable(OTF2_DefWriter *writer, OTF2_MappingType mappingType, const OTF2_IdMap *idMap)
Writes a MappingTable definition record into the DefWriter.
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