gem5 v24.0.0.0
|
#include <debug.hh>
Public Member Functions | |
SimpleFlag (const char *name, const char *desc, bool is_format=false) | |
void | enable () override |
void | disable () override |
bool | isFormat () const |
Checks whether this flag is a conventional debug flag, or a flag that modifies the way debug information is printed. | |
Public Member Functions inherited from gem5::debug::Flag | |
Flag (const char *name, const char *desc) | |
virtual | ~Flag () |
std::string | name () const |
std::string | desc () const |
bool | tracing () const |
operator bool () const | |
Protected Member Functions | |
void | sync () override |
Protected Attributes | |
const bool | _isFormat = false |
Whether this flag changes debug formatting. | |
bool | _enabled = false |
Protected Attributes inherited from gem5::debug::Flag | |
bool | _tracing = false |
const char * | _name |
const char * | _desc |
Additional Inherited Members | |
Static Public Member Functions inherited from gem5::debug::Flag | |
static void | globalEnable () |
static void | globalDisable () |
Static Protected Attributes inherited from gem5::debug::Flag | |
static bool | _globalEnable = false |
gem5::debug::SimpleFlag::SimpleFlag | ( | const char * | name, |
const char * | desc, | ||
bool | is_format = false ) |
Definition at line 132 of file debug.cc.
References gem5::debug::AllFlagsFlag::add(), gem5::debug::AllFlagsFlag::instance(), and isFormat().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
Checks whether this flag is a conventional debug flag, or a flag that modifies the way debug information is printed.
Definition at line 113 of file debug.hh.
References _isFormat.
Referenced by gem5::pybind_init_debug(), SimpleFlag(), and TEST().
|
inlineoverrideprotectedvirtual |
Reimplemented from gem5::debug::Flag.
Definition at line 99 of file debug.hh.
References _enabled, gem5::debug::Flag::_globalEnable, and gem5::debug::Flag::_tracing.
|
protected |
|
protected |
Whether this flag changes debug formatting.
Definition at line 95 of file debug.hh.
Referenced by isFormat().