gem5  v20.1.0.0
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
GenericISA::M5DebugOnceFault< Flavor > Class Template Reference

#include <debugfaults.hh>

Inheritance diagram for GenericISA::M5DebugOnceFault< Flavor >:
GenericISA::M5DebugFault 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=StaticInst::nullStaticInstPtr) override
 
- Public Member Functions inherited from 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 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 GenericISA::M5DebugFault
std::string _message
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 86 of file debugfaults.hh.

Constructor & Destructor Documentation

◆ M5DebugOnceFault()

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

Definition at line 101 of file debugfaults.hh.

Member Function Documentation

◆ invoke()

template<class Flavor >
void GenericISA::M5DebugOnceFault< Flavor >::invoke ( ThreadContext tc,
const StaticInstPtr inst = StaticInst::nullStaticInstPtr 
)
inlineoverridevirtual

◆ lookUpToken()

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

Definition at line 93 of file debugfaults.hh.

Member Data Documentation

◆ once

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

Definition at line 89 of file debugfaults.hh.

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


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

Generated on Wed Sep 30 2020 14:03:05 for gem5 by doxygen 1.8.17