gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ProbePoint Class Referenceabstract

ProbeListener base class; again used to simplify use of ProbePoints in containers and used as to define interface for adding removing listeners to the ProbePoint. More...

#include <probe.hh>

Inheritance diagram for gem5::ProbePoint:
gem5::ProbePointArg< std::pair< gem5::SimpleThread *, const gem5::RefCountingPtr > > gem5::ProbePointArg< bool > gem5::ProbePointArg< gem5::CacheAccessProbeArg > gem5::ProbePointArg< gem5::CacheDataUpdateProbeArg > gem5::ProbePointArg< gem5::Temperature > gem5::ProbePointArg< gem5::Packet > gem5::ProbePointArg< std::pair< gem5::RefCountingPtr, gem5::Packet > > gem5::ProbePointArg< gem5::RefCountingPtr > gem5::ProbePointArg< RequestPtr > gem5::ProbePointArg< std::pair > gem5::ProbePointArg< Arg >

Public Member Functions

 ProbePoint (ProbeManager *manager, const std::string &name)
 
virtual ~ProbePoint ()
 
virtual void addListener (ProbeListener *listener)=0
 
virtual void removeListener (ProbeListener *listener)=0
 
std::string getName () const
 

Protected Attributes

const std::string name
 

Detailed Description

ProbeListener base class; again used to simplify use of ProbePoints in containers and used as to define interface for adding removing listeners to the ProbePoint.

Definition at line 146 of file probe.hh.

Constructor & Destructor Documentation

◆ ProbePoint()

gem5::ProbePoint::ProbePoint ( ProbeManager * manager,
const std::string & name )

Definition at line 49 of file probe.cc.

References gem5::ProbeManager::addPoint().

◆ ~ProbePoint()

virtual gem5::ProbePoint::~ProbePoint ( )
inlinevirtual

Definition at line 152 of file probe.hh.

Member Function Documentation

◆ addListener()

◆ getName()

std::string gem5::ProbePoint::getName ( ) const
inline

Definition at line 156 of file probe.hh.

References name.

Referenced by gem5::ProbeManager::addPoint().

◆ removeListener()

Member Data Documentation

◆ name

const std::string gem5::ProbePoint::name
protected

Definition at line 149 of file probe.hh.

Referenced by getName().


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

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