|
gem5
v21.2.1.1
|
#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. More... | |
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. More... | |
| 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 133 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 114 of file debug.hh.
References _isFormat.
Referenced by gem5::pybind_init_debug(), SimpleFlag(), and TEST().
|
inlineoverrideprotectedvirtual |
Reimplemented from gem5::debug::Flag.
Definition at line 100 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 96 of file debug.hh.
Referenced by isFormat().