41 fatal(
"%s is NULL", !
cpuptr ?
"CPU":
"PcCountTrackerManager");
43 for (
int i = 0;
i <
p.targets.size();
i++) {
57 listeners.push_back(
new PcCountTrackerListener(
this,
"RetiredInstsPC",
void checkCount(Addr pc)
this function is called when PcCountTrackerProbeListener finds a target PC
PcCountTracker(const PcCountTrackerParams ¶ms)
virtual void regProbeListeners()
setup the probelistener
void checkPc(const Addr &pc)
this function is called when the probelistener receives signal from the probe
std::unordered_set< Addr > targetPC
a set of Program Counter addresses that should notify the PcCounterTrackerManager for
BaseCPU * cpuptr
the core this PcCountTracker is tracking at
PcCountTrackerManager * manager
the PcCounterTrackerManager
ProbeListenerArg generates a listener for the class of Arg and the class type T which is the class co...
This class is a minimal wrapper around SimObject.
std::vector< ProbeListener * > listeners
#define fatal(...)
This implements a cprintf based fatal() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.