|
gem5 [DEVELOP-FOR-25.0]
|
#include <debug.hh>
Public Member Functions | |
| Flag (const char *name, const char *desc) | |
| virtual | ~Flag () |
| std::string | name () const |
| std::string | desc () const |
| bool | tracing () const |
| virtual void | enable ()=0 |
| virtual void | disable ()=0 |
| operator bool () const | |
Static Public Member Functions | |
| static void | globalEnable () |
| static void | globalDisable () |
Protected Member Functions | |
| virtual void | sync () |
Protected Attributes | |
| bool | _tracing = false |
| const char * | _name |
| const char * | _desc |
Static Protected Attributes | |
| static bool | _globalEnable = false |
| gem5::debug::Flag::Flag | ( | const char * | name, |
| const char * | desc ) |
Definition at line 100 of file debug.cc.
References _desc, _name, gem5::debug::allFlags(), desc(), name(), panic_if, and sync().
Referenced by gem5::debug::CompoundFlag::CompoundFlag(), and gem5::debug::SimpleFlag::SimpleFlag().
|
virtual |
Definition at line 111 of file debug.cc.
References gem5::debug::allFlags(), and name().
|
inline |
Definition at line 78 of file debug.hh.
References _desc.
Referenced by gem5::debug::CompoundFlag::CompoundFlag(), Flag(), gem5::pybind_init_debug(), gem5::debug::SimpleFlag::SimpleFlag(), and TEST().
|
pure virtual |
Implemented in gem5::debug::CompoundFlag, and gem5::debug::SimpleFlag.
Referenced by gem5::pybind_init_debug().
|
pure virtual |
Implemented in gem5::debug::CompoundFlag, and gem5::debug::SimpleFlag.
Referenced by gem5::pybind_init_debug(), and TEST().
|
static |
Definition at line 125 of file debug.cc.
References _globalEnable, gem5::debug::allFlags(), and gem5::ArmISA::i.
Referenced by gem5::trace::disable(), TEST(), and TEST().
|
static |
Definition at line 117 of file debug.cc.
References _globalEnable, gem5::debug::allFlags(), and gem5::ArmISA::i.
Referenced by gem5::trace::enable(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
inline |
Definition at line 77 of file debug.hh.
References _name.
Referenced by gem5::debug::CompoundFlag::CompoundFlag(), Flag(), gem5::pybind_init_debug(), gem5::debug::SimpleFlag::SimpleFlag(), TEST(), and ~Flag().
|
inline |
|
inlineprotectedvirtual |
Reimplemented in gem5::debug::SimpleFlag.
Definition at line 71 of file debug.hh.
Referenced by Flag().
|
inline |
|
protected |
|
staticprotected |
Definition at line 64 of file debug.hh.
Referenced by globalDisable(), globalEnable(), and gem5::debug::SimpleFlag::sync().
|
protected |
|
protected |
Definition at line 66 of file debug.hh.
Referenced by gem5::debug::SimpleFlag::sync(), and tracing().