|
gem5
v21.0.1.0
|
#include <debug.hh>
Public Member Functions | |
| Flag (const char *name, const char *desc) | |
| virtual | ~Flag () |
| std::string | name () const |
| std::string | desc () const |
| virtual void | enable ()=0 |
| virtual void | disable ()=0 |
| virtual bool | enabled () const =0 |
| operator bool () const | |
Static Public Member Functions | |
| static void | globalEnable () |
| static void | globalDisable () |
Protected Member Functions | |
| virtual void | sync () |
Protected Attributes | |
| const char * | _name |
| const char * | _desc |
Static Protected Attributes | |
| static bool | _globalEnable = false |
| Debug::Flag::Flag | ( | const char * | name, |
| const char * | desc | ||
| ) |
Definition at line 91 of file debug.cc.
References Debug::allFlags(), Debug::allFlagsVersion, name(), panic_if, and sync().
|
virtual |
Definition at line 104 of file debug.cc.
References Debug::allFlags(), and name().
|
inline |
Definition at line 69 of file debug.hh.
References _desc.
Referenced by pybind_init_debug(), and TEST().
|
pure virtual |
Implemented in Debug::CompoundFlag, and Debug::SimpleFlag.
Referenced by pybind_init_debug().
|
pure virtual |
Implemented in Debug::CompoundFlag, and Debug::SimpleFlag.
Referenced by pybind_init_debug(), and TEST().
|
pure virtual |
Implemented in Debug::CompoundFlag, and Debug::SimpleFlag.
Referenced by operator bool(), and pybind_init_debug().
|
static |
Definition at line 118 of file debug.cc.
References _globalEnable, Debug::allFlags(), and ArmISA::i.
Referenced by Trace::disable(), and TEST().
|
static |
Definition at line 110 of file debug.cc.
References _globalEnable, Debug::allFlags(), and ArmISA::i.
Referenced by Trace::enable(), and TEST().
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
protected |
|
staticprotected |
Definition at line 57 of file debug.hh.
Referenced by globalDisable(), globalEnable(), and Debug::SimpleFlag::sync().
|
protected |