gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::GenericISA::M5DebugOnceFault< Flavor > Class Template Reference

#include <debugfaults.hh>

Inheritance diagram for gem5::GenericISA::M5DebugOnceFault< Flavor >:
gem5::GenericISA::M5DebugFault gem5::FaultBase

Public Member Functions

template<class OnceToken , class ... Args>
 M5DebugOnceFault (const OnceToken &token, const std::string &format, const Args &...args)
 
void invoke (ThreadContext *tc, const StaticInstPtr &inst=nullStaticInstPtr) override
 
- Public Member Functions inherited from gem5::GenericISA::M5DebugFault
 M5DebugFault (std::string _m)
 
template<class ... Args>
 M5DebugFault (const std::string &format, const Args &...args)
 
std::string message ()
 
- Public Member Functions inherited from gem5::FaultBase
virtual FaultName name () const =0
 
virtual ~FaultBase ()
 

Static Protected Member Functions

template<class F , class OnceToken >
static bool & lookUpToken (const OnceToken &token)
 

Protected Attributes

bool & once
 
- Protected Attributes inherited from gem5::GenericISA::M5DebugFault
std::string _message
 

Additional Inherited Members

- Protected Member Functions inherited from gem5::GenericISA::M5DebugFault
virtual void debugFunc ()=0
 
void advancePC (ThreadContext *tc, const StaticInstPtr &inst)
 

Detailed Description

template<class Flavor>
class gem5::GenericISA::M5DebugOnceFault< Flavor >

Definition at line 92 of file debugfaults.hh.

Constructor & Destructor Documentation

◆ M5DebugOnceFault()

template<class Flavor >
template<class OnceToken , class ... Args>
gem5::GenericISA::M5DebugOnceFault< Flavor >::M5DebugOnceFault ( const OnceToken & token,
const std::string & format,
const Args &... args )
inline

Definition at line 107 of file debugfaults.hh.

Member Function Documentation

◆ invoke()

◆ lookUpToken()

template<class Flavor >
template<class F , class OnceToken >
static bool & gem5::GenericISA::M5DebugOnceFault< Flavor >::lookUpToken ( const OnceToken & token)
inlinestaticprotected

Definition at line 99 of file debugfaults.hh.

References gem5::scmi::token.

Member Data Documentation

◆ once

template<class Flavor >
bool& gem5::GenericISA::M5DebugOnceFault< Flavor >::once
protected

Definition at line 95 of file debugfaults.hh.

Referenced by gem5::GenericISA::M5DebugOnceFault< Flavor >::invoke().


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

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0