HPCToolkit
fence_enum.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FENCE_ENUMS
 
#define _MM(a)   FENCE_ ## a,
 
#define _MM(a)   [FENCE_ ## a] = "FENCE_" #a,
 

Enumerations

enum  fence_enum_t { FENCE_ENUMS }
 

Functions

static char * fence_enum_name (fence_enum_t f)
 

Variables

static char * fence_enum_names []
 

Macro Definition Documentation

◆ _MM [1/2]

#define _MM (   a)    FENCE_ ## a,

Definition at line 12 of file fence_enum.h.

◆ _MM [2/2]

#define _MM (   a)    [FENCE_ ## a] = "FENCE_" #a,

Definition at line 12 of file fence_enum.h.

◆ FENCE_ENUMS

#define FENCE_ENUMS
Value:
_MM(NONE) \
_MM(MAIN) \
_MM(THREAD) \
_MM(TRAMP) \
_MM(BAD)
#define _MM(a)
Definition: fence_enum.h:12

Definition at line 4 of file fence_enum.h.

Enumeration Type Documentation

◆ fence_enum_t

Enumerator
FENCE_ENUMS 

Definition at line 11 of file fence_enum.h.

Function Documentation

◆ fence_enum_name()

static char* fence_enum_name ( fence_enum_t  f)
inlinestatic

Definition at line 24 of file fence_enum.h.

Here is the caller graph for this function:

Variable Documentation

◆ fence_enum_names

char* fence_enum_names[]
static
Initial value:
= {
#define _MM(a)
}
#define FENCE_ENUMS
Definition: fence_enum.h:4

Definition at line 17 of file fence_enum.h.