40 #ifndef __MEM_PROBES_BASE_HH__
41 #define __MEM_PROBES_BASE_HH__
49 struct BaseMemProbeParams;
96 #endif // __MEM_PROBES_BASE_HH__
PacketListener(BaseMemProbe &_parent, ProbeManager *pm, const std::string &name)
void notify(const ProbePoints::PacketInfo &pkt_info) override
const Params * params() const
Base class for memory system probes accepting Packet instances.
ProbeManager is a conduit class that lives on each SimObject, and is used to match up probe listeners...
void regProbeListeners() override
Register probe listeners for this object.
std::vector< std::unique_ptr< PacketListener > > listeners
ProbeListenerArgBase is used to define the base interface to a ProbeListenerArg (i.e the notify method on specific type).
BaseMemProbe(BaseMemProbeParams *params)
virtual void handleRequest(const ProbePoints::PacketInfo &pkt_info)=0
Callback to analyse intercepted Packets.
Abstract superclass for simulation objects.
A struct to hold on to the essential fields from a packet, so that the packet and underlying request ...