|
SST/macro
|
#include <map>#include <cstdio>#include <string>#include <stdint.h>#include <iostream>

Go to the source code of this file.
Classes | |
| class | sprockit::debug_int |
| The debug_int class is an opaque wrapper around an integer used for checking if debug slots are active. More... | |
| class | sprockit::debug_prefix_fxn |
| The debug_prefix_fxn class Produces a string prefix (dynamically, called every time) that can be registered with the debug system to add extra metadata to each debug print. More... | |
| class | sprockit::debug |
| class | sprockit::debug_register_slot |
| The debug_register_slot class. More... | |
Namespaces | |
| sprockit | |
Macros | |
| #define | MAX_DEBUG_SLOT 63 |
| #define | DeclareDebugSlot(name) |
| Macro used for declaring a debug slot in a header file. More... | |
| #define | RegisterDebugSlot(name, ...) |
| Macro used for defining all the symbols associated with a previously declared debug slot (DeclareDebugSlot). More... | |
| #define | MakeDebugSlot(name, ...) |
| Declare and define a debug slot in a single macro in a source file. More... | |
| #define | debug_printf(slot_bitmask, ...) |
Functions | |
| debug_int | sprockit::operator| (const debug_int &lhs, const debug_int &rhs) |
| debug_int | sprockit::operator& (const debug_int &lhs, const debug_int &rhs) |
| #define debug_printf | ( | slot_bitmask, | |
| ... | |||
| ) |
Definition at line 275 of file debug.h.
Referenced by sstmac::hw::multipath_router< ParentRouter >::route().
| #define DeclareDebugSlot | ( | name | ) |
Macro used for declaring a debug slot in a header file.
This only declares the symbols used for debug printing without defining any of them. An arbitrary number of declarations are allowed.
| #define MakeDebugSlot | ( | name, | |
| ... | |||
| ) |
Declare and define a debug slot in a single macro in a source file.
Should always go in global namespace
| #define RegisterDebugSlot | ( | name, | |
| ... | |||
| ) |
Macro used for defining all the symbols associated with a previously declared debug slot (DeclareDebugSlot).
This should be defined once in a single source file. The declaration should always go in the global namespace. VA_ARGS here is an optional docstring
1.8.11