gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::debug::AllFlagsFlag Class Reference

#include <debug.hh>

Inheritance diagram for gem5::debug::AllFlagsFlag:
gem5::debug::CompoundFlag gem5::debug::Flag

Public Member Functions

 AllFlagsFlag ()
void add (SimpleFlag *flag)
Public Member Functions inherited from gem5::debug::CompoundFlag
template<typename... Args>
 CompoundFlag (const char *name, const char *desc, std::initializer_list< Flag * > flags)
const std::vector< Flag * > & kids () const
void enable () override
void disable () override
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

Static Public Member Functions

static AllFlagsFlaginstance ()
static int version ()
Static Public Member Functions inherited from gem5::debug::Flag
static void globalEnable ()
static void globalDisable ()

Static Protected Attributes

static int _version = 0
Static Protected Attributes inherited from gem5::debug::Flag
static bool _globalEnable = false

Additional Inherited Members

Protected Member Functions inherited from gem5::debug::Flag
virtual void sync ()
Protected Attributes inherited from gem5::debug::CompoundFlag
std::vector< Flag * > _kids
Protected Attributes inherited from gem5::debug::Flag
bool _tracing = false
const char * _name
const char * _desc

Detailed Description

Definition at line 136 of file debug.hh.

Constructor & Destructor Documentation

◆ AllFlagsFlag()

gem5::debug::AllFlagsFlag::AllFlagsFlag ( )

Definition at line 154 of file debug.cc.

References gem5::debug::CompoundFlag::CompoundFlag().

Referenced by instance().

Member Function Documentation

◆ add()

void gem5::debug::AllFlagsFlag::add ( SimpleFlag * flag)

Definition at line 159 of file debug.cc.

References gem5::debug::CompoundFlag::_kids, and _version.

◆ instance()

AllFlagsFlag & gem5::debug::AllFlagsFlag::instance ( )
static

Definition at line 168 of file debug.cc.

References AllFlagsFlag().

Referenced by gem5::debug::allFlags(), and gem5::debug::SimpleFlag::SimpleFlag().

◆ version()

int gem5::debug::AllFlagsFlag::version ( )
inlinestatic

Definition at line 147 of file debug.hh.

References _version.

Referenced by gem5::pybind_init_debug().

Member Data Documentation

◆ _version

int gem5::debug::AllFlagsFlag::_version = 0
staticprotected

Definition at line 139 of file debug.hh.

Referenced by add(), and version().


The documentation for this class was generated from the following files:

Generated on Sat Oct 18 2025 08:06:58 for gem5 by doxygen 1.14.0