gem5  v22.0.0.1
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
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 137 of file debug.hh.

Constructor & Destructor Documentation

◆ AllFlagsFlag()

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

Definition at line 155 of file debug.cc.

Member Function Documentation

◆ add()

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

Definition at line 160 of file debug.cc.

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

Referenced by gem5::debug::SimpleFlag::SimpleFlag().

◆ instance()

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

Definition at line 169 of file debug.cc.

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

◆ version()

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

Definition at line 148 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 140 of file debug.hh.

Referenced by add(), and version().


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

Generated on Sat Jun 18 2022 08:13:42 for gem5 by doxygen 1.8.17