4.1 (revision 13848)
Macros | Typedefs
SCOREP_User_Types.h File Reference

This file contains type definitions for manual user instrumentation. More...

#include <scorep/SCOREP_PublicTypes.h>

Go to the source code of this file.

Macros

#define SCOREP_USER_INVALID_PARAMETER   -1
 
#define SCOREP_USER_INVALID_REGION   NULL
 
Region types
#define SCOREP_USER_REGION_TYPE_COMMON   0
 
#define SCOREP_USER_REGION_TYPE_FUNCTION   1
 
#define SCOREP_USER_REGION_TYPE_LOOP   2
 
#define SCOREP_USER_REGION_TYPE_DYNAMIC   4
 
#define SCOREP_USER_REGION_TYPE_PHASE   8
 
Metric types
#define SCOREP_USER_METRIC_TYPE_INT64   0
 
#define SCOREP_USER_METRIC_TYPE_UINT64   1
 
#define SCOREP_USER_METRIC_TYPE_DOUBLE   2
 
Metric contexts
#define SCOREP_USER_METRIC_CONTEXT_GLOBAL   0
 
#define SCOREP_USER_METRIC_CONTEXT_CALLPATH   1
 

Typedefs

typedef uint32_t SCOREP_User_MetricType
 
typedef uint64_t SCOREP_User_ParameterHandle
 
typedef struct SCOREP_User_Region * SCOREP_User_RegionHandle
 
typedef uint32_t SCOREP_User_RegionType
 

Detailed Description

This file contains type definitions for manual user instrumentation.

Macro Definition Documentation

#define SCOREP_USER_INVALID_PARAMETER   -1

Marks an parameter handle as invalid or uninitialized

#define SCOREP_USER_INVALID_REGION   NULL

Value for uninitialized or invalid region handles

Typedef Documentation

typedef uint32_t SCOREP_User_MetricType

Type for the user metric type

typedef uint64_t SCOREP_User_ParameterHandle

Type for parameter handles

typedef struct SCOREP_User_Region* SCOREP_User_RegionHandle

Type for region handles in the user adapter.

typedef uint32_t SCOREP_User_RegionType

Type for the region type