Go to the documentation of this file.
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",
#define fatal(...)
This implements a cprintf based fatal() function.
void checkCount(Addr pc)
this function is called when PcCountTrackerProbeListener finds a target PC
std::vector< ProbeListener * > listeners
This class is a minimal wrapper around SimObject.
ProbeListenerArg generates a listener for the class of Arg and the class type T which is the class co...
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
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
PcCountTracker(const PcCountTrackerParams ¶ms)
PcCountTrackerManager * manager
the PcCounterTrackerManager
void checkPc(const Addr &pc)
this function is called when the probelistener receives signal from the probe
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
virtual void regProbeListeners()
setup the probelistener
Generated on Sun Jul 30 2023 01:56:53 for gem5 by doxygen 1.8.17