![]() |
1.2 (revision 3183)
|
This header file provides general definitions which should be accessible in all internal and external modules. More...
#include <stdint.h>
#include <otf2/OTF2_ErrorCodes.h>
Go to the source code of this file.
Defines | |
#define | OTF2_CHUNK_SIZE_MAX ( uint64_t )( 1024 * 1024 * 16 ) |
Defines the maximum size of a chunk. | |
#define | OTF2_CHUNK_SIZE_MIN ( uint64_t )( 256 * 1024 ) |
Defines the minimum size of a chunk. | |
#define | OTF2_UNDEFINED_ATTRIBUTE ( ( OTF2_AttributeRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a Attribute definition. | |
#define | OTF2_UNDEFINED_CALLPATH ( ( OTF2_CallpathRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a Callpath definition. | |
#define | OTF2_UNDEFINED_CALLSITE ( ( OTF2_CallsiteRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a Callsite definition. | |
#define | OTF2_UNDEFINED_COMM ( ( OTF2_CommRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a Comm definition. | |
#define | OTF2_UNDEFINED_GROUP ( ( OTF2_GroupRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a Group definition. | |
#define | OTF2_UNDEFINED_LOCATION ( ( OTF2_LocationRef )OTF2_UNDEFINED_UINT64 ) |
The invalid value for a reference to a Location definition. | |
#define | OTF2_UNDEFINED_LOCATION_GROUP ( ( OTF2_LocationGroupRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a LocationGroup definition. | |
#define | OTF2_UNDEFINED_METRIC ( ( OTF2_MetricRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a MetricClass, or a MetricInstance definition. | |
#define | OTF2_UNDEFINED_METRIC_MEMBER ( ( OTF2_MetricMemberRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a MetricMember definition. | |
#define | OTF2_UNDEFINED_PARAMETER ( ( OTF2_ParameterRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a Parameter definition. | |
#define | OTF2_UNDEFINED_REGION ( ( OTF2_RegionRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a Region definition. | |
#define | OTF2_UNDEFINED_RMA_WIN ( ( OTF2_RmaWinRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a RmaWin definition. | |
#define | OTF2_UNDEFINED_STRING ( ( OTF2_StringRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a String definition. | |
#define | OTF2_UNDEFINED_SYSTEM_TREE_NODE ( ( OTF2_SystemTreeNodeRef )OTF2_UNDEFINED_UINT32 ) |
The invalid value for a reference to a SystemTreeNode definition. | |
#define | OTF2_UNDEFINED_TYPE OTF2_UNDEFINED_UINT8 |
OTF2 library version. | |
#define | OTF2_VERSION_MAJOR 1 |
#define | OTF2_VERSION_MINOR 2 |
#define | OTF2_VERSION_BUGFIX 0 |
#define | OTF2_VERSION_SUFFIX "" |
#define | OTF2_VERSION "1.2" |
Standard undefined values for basic data types. | |
#define | OTF2_UNDEFINED_UINT8 ( ( uint8_t )( ~( ( uint8_t )0u ) ) ) |
#define | OTF2_UNDEFINED_UINT16 ( ( uint16_t )( ~( ( uint16_t )0u ) ) ) |
#define | OTF2_UNDEFINED_UINT32 ( ( uint32_t )( ~( ( uint32_t )0u ) ) ) |
#define | OTF2_UNDEFINED_UINT64 ( ( uint64_t )( ~( ( uint64_t )0u ) ) ) |
Typedefs | |
typedef uint32_t | OTF2_AttributeRef |
Type used to indicate a reference to a Attribute definition. | |
typedef uint32_t | OTF2_CallpathRef |
Type used to indicate a reference to a Callpath definition. | |
typedef uint32_t | OTF2_CallsiteRef |
Type used to indicate a reference to a Callsite definition. | |
typedef uint32_t | OTF2_CommRef |
Type used to indicate a reference to a Comm definition. | |
typedef uint8_t | OTF2_Compression |
Defines which compression is used. Please see OTF2_Compression_enum for a detailed description. | |
typedef struct OTF2_DefReader_struct | OTF2_DefReader |
OTF2 local definition reader handle. | |
typedef struct OTF2_EvtReader_struct | OTF2_EvtReader |
OTF2 local event reader handle. | |
typedef uint8_t | OTF2_FileMode |
Defines how to interact with files. Please see OTF2_FileMode_enum for a detailed description. | |
typedef uint8_t | OTF2_FileSubstrate |
Defines which file substrate is used. Please see OTF2_FileSubstrate_enum for a detailed description. | |
typedef uint8_t | OTF2_FileType |
Defines which file type is used. Please see OTF2_FileType_enum for a detailed description. | |
typedef uint8_t | OTF2_FlushType |
Defines whether the recorded data is flushed to a file or not. Please see OTF2_Fllushtype_enum for a detailed description. | |
typedef struct OTF2_GlobalDefReader_struct | OTF2_GlobalDefReader |
OTF2 global definition reader handle. | |
typedef struct OTF2_GlobalEvtReader_struct | OTF2_GlobalEvtReader |
OTF2 global event reader handle. | |
typedef struct OTF2_GlobalSnapReader_struct | OTF2_GlobalSnapReader |
OTF2 global snap reader handle. | |
typedef uint32_t | OTF2_GroupRef |
Type used to indicate a reference to a Group definition. | |
typedef uint32_t | OTF2_LocationGroupRef |
Type used to indicate a reference to a LocationGroup definition. | |
typedef uint64_t | OTF2_LocationRef |
Type used to indicate a reference to a Location definition. | |
typedef uint8_t | OTF2_MappingType |
Wrapper for enum OTF2_MappingType_enum. | |
typedef struct OTF2_MarkerReader_struct | OTF2_MarkerReader |
OTF2 marker reader handle. | |
typedef uint32_t | OTF2_MetricMemberRef |
Type used to indicate a reference to a MetricMember definition. | |
typedef uint32_t | OTF2_MetricRef |
Type used to indicate a reference to a MetricClass, or a MetricInstance definition. | |
typedef uint8_t | OTF2_Paradigm |
Wrapper for enum OTF2_Paradigm_enum. | |
typedef uint32_t | OTF2_ParameterRef |
Type used to indicate a reference to a Parameter definition. | |
typedef uint32_t | OTF2_RegionRef |
Type used to indicate a reference to a Region definition. | |
typedef uint32_t | OTF2_RmaWinRef |
Type used to indicate a reference to a RmaWin definition. | |
typedef struct OTF2_SnapReader_struct | OTF2_SnapReader |
OTF2 local snap reader handle. | |
typedef uint32_t | OTF2_StringRef |
Type used to indicate a reference to a String definition. | |
typedef uint32_t | OTF2_SystemTreeNodeRef |
Type used to indicate a reference to a SystemTreeNode definition. | |
typedef uint8_t | OTF2_ThumbnailType |
Wrapper for enum OTF2_ThumbnailType_enum. | |
typedef uint64_t | OTF2_TimeStamp |
OTF2 time stamp. | |
typedef uint8_t | OTF2_Type |
Wrapper for enum OTF2_Type_enum. | |
Enumerations | |
enum | OTF2_CallbackCode { OTF2_CALLBACK_SUCCESS = 0, OTF2_CALLBACK_INTERRUPT = !OTF2_CALLBACK_SUCCESS } |
Return value to indicate that the record reading should be interrupted. More... | |
enum | OTF2_Compression_enum { OTF2_COMPRESSION_UNDEFINED = 0, OTF2_COMPRESSION_NONE = 1, OTF2_COMPRESSION_ZLIB = 2 } |
Defines which compression is used. More... | |
enum | OTF2_FileMode_enum { OTF2_FILEMODE_WRITE = 0, OTF2_FILEMODE_READ = 1, OTF2_FILEMODE_MODIFY = 2 } |
Defines how to interact with files. More... | |
enum | OTF2_FileSubstrate_enum { OTF2_SUBSTRATE_UNDEFINED = 0, OTF2_SUBSTRATE_POSIX = 1, OTF2_SUBSTRATE_SION = 2, OTF2_SUBSTRATE_NONE = 3 } |
Defines which file substrate is used. Please note: At the moment only the posix and none interfaces are implemented. More... | |
enum | OTF2_FileType_enum { OTF2_FILETYPE_ANCHOR = 0, OTF2_FILETYPE_GLOBAL_DEFS = 1, OTF2_FILETYPE_LOCAL_DEFS = 2, OTF2_FILETYPE_EVENTS = 3, OTF2_FILETYPE_SNAPSHOTS = 4, OTF2_FILETYPE_THUMBNAIL = 5, OTF2_FILETYPE_MARKER = 6 } |
Defines which file type is used. More... | |
enum | OTF2_FlushType_enum { OTF2_NO_FLUSH = 0, OTF2_FLUSH = 1 } |
Defines whether the recorded data is flushed to a file or not. More... | |
enum | OTF2_MappingType_enum { OTF2_MAPPING_STRING = 0, OTF2_MAPPING_ATTRIBUTE = 1, OTF2_MAPPING_LOCATION = 2, OTF2_MAPPING_REGION = 3, OTF2_MAPPING_GROUP = 4, OTF2_MAPPING_METRIC = 5, OTF2_MAPPING_COMM = 6, OTF2_MAPPING_PARAMETER = 7, OTF2_MAPPING_RMA_WIN = 8, OTF2_MAPPING_MAX = 9 } |
Possible mappings from local to global identifiers. More... | |
enum | OTF2_Paradigm_enum { OTF2_PARADIGM_UNKNOWN = 0, OTF2_PARADIGM_USER = 1, OTF2_PARADIGM_COMPILER = 2, OTF2_PARADIGM_OPENMP = 3, OTF2_PARADIGM_MPI = 4, OTF2_PARADIGM_CUDA = 5, OTF2_PARADIGM_MEASUREMENT_SYSTEM = 6 } |
List of known paradigms. More... | |
enum | OTF2_ThumbnailType_enum { OTF2_THUMBNAIL_TYPE_REGION = 0, OTF2_THUMBNAIL_TYPE_METRIC = 1, OTF2_THUMBNAIL_TYPE_ATTRIBUTES = 2 } |
Type of definitions used as metric in an thumbnail. More... | |
enum | OTF2_Type_enum { OTF2_TYPE_NONE = 0, OTF2_TYPE_UINT8 = 1, OTF2_TYPE_UINT16 = 2, OTF2_TYPE_UINT32 = 3, OTF2_TYPE_UINT64 = 4, OTF2_TYPE_INT8 = 5, OTF2_TYPE_INT16 = 6, OTF2_TYPE_INT32 = 7, OTF2_TYPE_INT64 = 8, OTF2_TYPE_FLOAT = 9, OTF2_TYPE_DOUBLE = 10 } |
OTF2 basic data types. More... |
This header file provides general definitions which should be accessible in all internal and external modules.
#define OTF2_UNDEFINED_TYPE OTF2_UNDEFINED_UINT8 |
Undefined value for enums
enum OTF2_CallbackCode |
Return value to indicate that the record reading should be interrupted.
Returning OTF2_CALLBACK_INTERRUPT will stop reading more events, if functions like:
enum OTF2_FileMode_enum |
Defines which file substrate is used. Please note: At the moment only the posix and none interfaces are implemented.
enum OTF2_FileType_enum |
Defines which file type is used.
enum OTF2_FlushType_enum |
Possible mappings from local to global identifiers.
enum OTF2_Paradigm_enum |
List of known paradigms.
Type of definitions used as metric in an thumbnail.
OTF2_THUMBNAIL_TYPE_REGION |
The referenced definitions are of type Region. |
OTF2_THUMBNAIL_TYPE_METRIC |
The referenced definitions are of type MetricMember. |
OTF2_THUMBNAIL_TYPE_ATTRIBUTES |
The referenced definitions are of type Attribute. |
enum OTF2_Type_enum |
OTF2 basic data types.