HPCToolkit
|
#include "messages.flag-defns"
Go to the source code of this file.
Macros | |
#define | DBG_PREFIX(s) DBG_##s |
#define | CTL_PREFIX(s) CTL_##s |
#define | DBG(f) debug_flag_get(DBG_PREFIX(f)) |
#define | SET(f, v) debug_flag_set(DBG_PREFIX(f), v) |
#define | ENABLE(f) SET(f,1) |
#define | DISABLE(f) SET(f,0) |
#define | ENABLED(f) DBG(f) |
#define | DISABLED(f) (! DBG(f)) |
#define | IF_ENABLED(f) if ( ENABLED(f) ) |
#define | IF_DISABLED(f) if ( ! ENABLED(f) ) |
#define | E(s) DBG_PREFIX(s) |
Typedefs | |
typedef pmsg_category | dbg_category |
Enumerations | |
enum | pmsg_category { E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT), E =(INIT) } |
Functions | |
void | debug_flag_init () |
int | debug_flag_get (dbg_category flag) |
void | debug_flag_set (dbg_category flag, int v) |
void | debug_flag_dump () |
#define CTL_PREFIX | ( | s | ) | CTL_##s |
Definition at line 68 of file debug-flag.h.
#define DBG | ( | f | ) | debug_flag_get(DBG_PREFIX(f)) |
Definition at line 70 of file debug-flag.h.
#define DBG_PREFIX | ( | s | ) | DBG_##s |
Definition at line 67 of file debug-flag.h.
#define DISABLE | ( | f | ) | SET(f,0) |
Definition at line 74 of file debug-flag.h.
#define DISABLED | ( | f | ) | (! DBG(f)) |
Definition at line 77 of file debug-flag.h.
#define E | ( | s | ) | DBG_PREFIX(s) |
Definition at line 92 of file debug-flag.h.
#define ENABLE | ( | f | ) | SET(f,1) |
Definition at line 73 of file debug-flag.h.
#define ENABLED | ( | f | ) | DBG(f) |
Definition at line 76 of file debug-flag.h.
#define IF_DISABLED | ( | f | ) | if ( ! ENABLED(f) ) |
Definition at line 80 of file debug-flag.h.
#define IF_ENABLED | ( | f | ) | if ( ENABLED(f) ) |
Definition at line 79 of file debug-flag.h.
#define SET | ( | f, | |
v | |||
) | debug_flag_set(DBG_PREFIX(f), v) |
Definition at line 71 of file debug-flag.h.
typedef pmsg_category dbg_category |
Definition at line 100 of file debug-flag.h.
enum pmsg_category |
Definition at line 89 of file debug-flag.h.
void debug_flag_dump | ( | ) |
int debug_flag_get | ( | dbg_category | flag | ) |
void debug_flag_init | ( | ) |
Definition at line 194 of file debug-flag.c.
void debug_flag_set | ( | dbg_category | flag, |
int | v | ||
) |