gem5
v20.1.0.0
|
Public Member Functions | |
BPredUnitStats (Stats::Group *parent) | |
Public Member Functions inherited from Stats::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. More... | |
virtual | ~Group () |
virtual void | regStats () |
Callback to set stat parameters. More... | |
virtual void | resetStats () |
Callback to reset stats. More... | |
virtual void | preDumpStats () |
Callback before stats are dumped. More... | |
void | addStat (Stats::Info *info) |
Register a stat with this group. More... | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. More... | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. More... | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. More... | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. More... | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Attributes | |
Stats::Scalar | lookups |
Stat for number of BP lookups. More... | |
Stats::Scalar | condPredicted |
Stat for number of conditional branches predicted. More... | |
Stats::Scalar | condIncorrect |
Stat for number of conditional branches predicted incorrectly. More... | |
Stats::Scalar | BTBLookups |
Stat for number of BTB lookups. More... | |
Stats::Scalar | BTBHits |
Stat for number of BTB hits. More... | |
Stats::Formula | BTBHitPct |
Stat for percent times an entry in BTB found. More... | |
Stats::Scalar | RASUsed |
Stat for number of times the RAS is used to get a target. More... | |
Stats::Scalar | RASIncorrect |
Stat for number of times the RAS is incorrect. More... | |
Stats::Scalar | indirectLookups |
Stat for the number of indirect target lookups. More... | |
Stats::Scalar | indirectHits |
Stat for the number of indirect target hits. More... | |
Stats::Scalar | indirectMisses |
Stat for the number of indirect target misses. More... | |
Stats::Scalar | indirectMispredicted |
Stat for the number of indirect target mispredictions. More... | |
Definition at line 280 of file bpred_unit.hh.
BPredUnit::BPredUnitStats::BPredUnitStats | ( | Stats::Group * | parent | ) |
Definition at line 70 of file bpred_unit.cc.
References BTBHitPct, and Stats::DataWrap< Derived, InfoProxyType >::precision().
Stats::Formula BPredUnit::BPredUnitStats::BTBHitPct |
Stat for percent times an entry in BTB found.
Definition at line 294 of file bpred_unit.hh.
Referenced by BPredUnitStats().
Stats::Scalar BPredUnit::BPredUnitStats::BTBHits |
Stat for number of BTB hits.
Definition at line 292 of file bpred_unit.hh.
Referenced by BPredUnit::predict().
Stats::Scalar BPredUnit::BPredUnitStats::BTBLookups |
Stat for number of BTB lookups.
Definition at line 290 of file bpred_unit.hh.
Referenced by BPredUnit::predict().
Stats::Scalar BPredUnit::BPredUnitStats::condIncorrect |
Stat for number of conditional branches predicted incorrectly.
Definition at line 288 of file bpred_unit.hh.
Referenced by BPredUnit::squash().
Stats::Scalar BPredUnit::BPredUnitStats::condPredicted |
Stat for number of conditional branches predicted.
Definition at line 286 of file bpred_unit.hh.
Referenced by BPredUnit::predict().
Stats::Scalar BPredUnit::BPredUnitStats::indirectHits |
Stat for the number of indirect target hits.
Definition at line 303 of file bpred_unit.hh.
Referenced by BPredUnit::predict().
Stats::Scalar BPredUnit::BPredUnitStats::indirectLookups |
Stat for the number of indirect target lookups.
Definition at line 301 of file bpred_unit.hh.
Referenced by BPredUnit::predict().
Stats::Scalar BPredUnit::BPredUnitStats::indirectMispredicted |
Stat for the number of indirect target mispredictions.
Definition at line 307 of file bpred_unit.hh.
Referenced by BPredUnit::squash().
Stats::Scalar BPredUnit::BPredUnitStats::indirectMisses |
Stat for the number of indirect target misses.
Definition at line 305 of file bpred_unit.hh.
Referenced by BPredUnit::predict().
Stats::Scalar BPredUnit::BPredUnitStats::lookups |
Stat for number of BP lookups.
Definition at line 284 of file bpred_unit.hh.
Referenced by BPredUnit::predict().
Stats::Scalar BPredUnit::BPredUnitStats::RASIncorrect |
Stat for number of times the RAS is incorrect.
Definition at line 298 of file bpred_unit.hh.
Referenced by BPredUnit::squash().
Stats::Scalar BPredUnit::BPredUnitStats::RASUsed |
Stat for number of times the RAS is used to get a target.
Definition at line 296 of file bpred_unit.hh.
Referenced by BPredUnit::predict().