gem5
v21.2.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 |
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 | ||
) |
|
virtual |
Definition at line 112 of file debug.cc.
References gem5::debug::allFlags(), and name().
|
inline |
Definition at line 79 of file debug.hh.
References _desc.
Referenced by gem5::pybind_init_debug(), 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 126 of file debug.cc.
References _globalEnable, gem5::debug::allFlags(), and gem5::ArmISA::i.
Referenced by gem5::Trace::disable(), and TEST().
|
static |
Definition at line 118 of file debug.cc.
References _globalEnable, gem5::debug::allFlags(), and gem5::ArmISA::i.
Referenced by gem5::Trace::enable(), and TEST().
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in gem5::debug::SimpleFlag.
Definition at line 72 of file debug.hh.
Referenced by Flag().
|
inline |
Definition at line 81 of file debug.hh.
References _tracing.
Referenced by operator bool(), gem5::pybind_init_debug(), and TEST().
|
protected |
|
staticprotected |
Definition at line 65 of file debug.hh.
Referenced by globalDisable(), globalEnable(), and gem5::debug::SimpleFlag::sync().
|
protected |
|
protected |
Definition at line 67 of file debug.hh.
Referenced by gem5::debug::SimpleFlag::sync(), and tracing().