gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
PCEvent Class Referenceabstract

#include <pc_event.hh>

Inheritance diagram for PCEvent:
BreakPCEvent DumpStatsPCEvent HardBreakpoint IdleStartEvent IdleStartEvent IdleStartEvent Linux::DmesgDumpEvent Linux::KernelPanicEvent LinuxAlphaSystem::PrintThreadInfo LinuxMipsSystem::PrintThreadInfo PanicPCEvent SkipFuncEvent

Public Member Functions

 PCEvent (PCEventScope *q, const std::string &desc, Addr pc)
 
virtual ~PCEvent ()
 
virtual const std::string name () const
 
std::string descr () const
 
Addr pc () const
 
bool remove ()
 
virtual void process (ThreadContext *tc)=0
 

Protected Attributes

std::string description
 
PCEventScopescope
 
Addr evpc
 

Detailed Description

Definition at line 45 of file pc_event.hh.

Constructor & Destructor Documentation

◆ PCEvent()

PCEvent::PCEvent ( PCEventScope q,
const std::string &  desc,
Addr  pc 
)
inline

Definition at line 132 of file pc_event.hh.

References PCEventScope::schedule(), and scope.

◆ ~PCEvent()

virtual PCEvent::~PCEvent ( )
inlinevirtual

Definition at line 55 of file pc_event.hh.

Member Function Documentation

◆ descr()

std::string PCEvent::descr ( ) const
inline

◆ name()

virtual const std::string PCEvent::name ( ) const
inlinevirtual

◆ pc()

Addr PCEvent::pc ( ) const
inline

◆ process()

virtual void PCEvent::process ( ThreadContext tc)
pure virtual

◆ remove()

bool PCEvent::remove ( )
inline

Definition at line 139 of file pc_event.hh.

References panic, PCEventScope::remove(), and scope.

Member Data Documentation

◆ description

std::string PCEvent::description
protected

Definition at line 48 of file pc_event.hh.

Referenced by descr(), and name().

◆ evpc

Addr PCEvent::evpc
protected

Definition at line 50 of file pc_event.hh.

Referenced by pc().

◆ scope

PCEventScope* PCEvent::scope
protected

Definition at line 49 of file pc_event.hh.

Referenced by PCEvent(), and remove().


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

Generated on Fri Feb 28 2020 16:27:14 for gem5 by doxygen 1.8.13