41 #ifndef __CPU_SIMPLE_PROBES_SIMPOINT_HH__
42 #define __CPU_SIMPLE_PROBES_SIMPOINT_HH__
44 #include <unordered_map>
48 #include "params/SimPoint.hh"
70 return hash<Addr>()(bb.first + bb.second);
114 std::unordered_map<BasicBlockRange, BBInfo>
bbMap;
121 #endif // __CPU_SIMPLE_PROBES_SIMPOINT_HH__
OutputStream * simpointStream
Pointer to SimPoint BBV output stream.
BasicBlockRange currentBBV
Currently executing basic block.
std::pair< Addr, Addr > BasicBlockRange
Probe for SimPoints BBV generation.
std::unordered_map< BasicBlockRange, BBInfo > bbMap
Hash table containing all previously seen basic blocks.
const uint64_t intervalSize
SimPoint profiling interval size in instructions.
uint64_t currentBBVInstCount
inst count in current basic block
const Params * params() const
virtual void regProbeListeners()
Register probe listeners for this object.
This class is a minimal wrapper around SimObject.
void profile(const std::pair< SimpleThread *, StaticInstPtr > &)
Profile basic blocks for SimPoints.
SimPoint(const SimPointParams *params)
uint64_t intervalCount
Inst count in current basic block.
uint64_t count
Accumulated dynamic inst count executed by BB.
uint64_t insts
Num of static insts in BB.
virtual void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
uint64_t intervalDrift
Excess inst count from previous interval.
size_t operator()(const BasicBlockRange &bb) const