Go to the documentation of this file.
29 #ifndef __CPU_PROBES_PC_COUNT_TRACKER_MANAGER_HH__
30 #define __CPU_PROBES_PC_COUNT_TRACKER_MANAGER_HH__
32 #include <unordered_map>
33 #include <unordered_set>
36 #include "params/PcCountTrackerManager.hh"
38 #include "debug/PcCountTracker.hh"
115 s += itr->to_string();
124 #endif // __CPU_PROBES_PC_COUNT_TRACKER_MANAGER_HH__
int getPcCount(Addr pc) const
this function returns the corresponding value of count for the inputted Program Counter address.
std::unordered_set< PcCountPair, PcCountPair::HashFunction > targetPair
a set that stores all the PC Count pairs that should raise an exit event at
void checkCount(Addr pc)
this function is called when PcCountTrackerProbeListener finds a target PC
PcCountPair getCurrentPcCountPair() const
this function returns the current PC Count pair
PcCountTrackerManager(const PcCountTrackerManagerParams ¶ms)
const Params & params() const
std::unordered_map< Addr, int > counter
a counter that stores all the target PC addresses and the number of times the target PC has been exec...
Abstract superclass for simulation objects.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::string printAllTargets() const
this function print all targets
PcCountPair currentPair
the current PC Count pair
Enable hashing for this parameter.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
bool ifListNotEmpty
when all the PC Count pairs in the targetPair are encountered, and the PCCOUNTTRACK_END exit event is...
Generated on Sun Jul 30 2023 01:56:53 for gem5 by doxygen 1.8.17