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

#include <debug.hh>

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

Public Member Functions

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

Protected Attributes

std::vector< Flag * > _kids
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 ()
Protected Member Functions inherited from gem5::debug::Flag
virtual void sync ()
Static Protected Attributes inherited from gem5::debug::Flag
static bool _globalEnable = false

Detailed Description

Definition at line 116 of file debug.hh.

Constructor & Destructor Documentation

◆ CompoundFlag()

template<typename... Args>
gem5::debug::CompoundFlag::CompoundFlag ( const char * name,
const char * desc,
std::initializer_list< Flag * > flags )
inline

Member Function Documentation

◆ disable()

void gem5::debug::CompoundFlag::disable ( )
overridevirtual

Implements gem5::debug::Flag.

Definition at line 148 of file debug.cc.

References _kids, and gem5::MipsISA::k.

◆ enable()

void gem5::debug::CompoundFlag::enable ( )
overridevirtual

Implements gem5::debug::Flag.

Definition at line 141 of file debug.cc.

References _kids, and gem5::MipsISA::k.

◆ kids()

const std::vector< Flag * > & gem5::debug::CompoundFlag::kids ( ) const
inline

Definition at line 130 of file debug.hh.

References _kids.

Referenced by gem5::pybind_init_debug().

Member Data Documentation

◆ _kids

std::vector<Flag *> gem5::debug::CompoundFlag::_kids
protected

Definition at line 119 of file debug.hh.

Referenced by gem5::debug::AllFlagsFlag::add(), CompoundFlag(), disable(), enable(), and kids().


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