gem5
v22.1.0.0
|
Public Member Functions | |
BPredUnitStats (statistics::Group *parent) | |
![]() | |
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 (statistics::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... | |
void | mergeStatGroup (Group *block) |
Merge the contents (stats & children) of a block to this block. More... | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Attributes | |
statistics::Scalar | lookups |
Stat for number of BP lookups. More... | |
statistics::Scalar | condPredicted |
Stat for number of conditional branches predicted. More... | |
statistics::Scalar | condIncorrect |
Stat for number of conditional branches predicted incorrectly. More... | |
statistics::Scalar | BTBLookups |
Stat for number of BTB lookups. More... | |
statistics::Scalar | BTBUpdates |
Stat for number of BTB updates. More... | |
statistics::Scalar | BTBHits |
Stat for number of BTB hits. More... | |
statistics::Formula | BTBHitRatio |
Stat for the ratio between BTB hits and BTB lookups. More... | |
statistics::Scalar | RASUsed |
Stat for number of times the RAS is used to get a target. More... | |
statistics::Scalar | RASIncorrect |
Stat for number of times the RAS is incorrect. More... | |
statistics::Scalar | indirectLookups |
Stat for the number of indirect target lookups. More... | |
statistics::Scalar | indirectHits |
Stat for the number of indirect target hits. More... | |
statistics::Scalar | indirectMisses |
Stat for the number of indirect target misses. More... | |
statistics::Scalar | indirectMispredicted |
Stat for the number of indirect target mispredictions. More... | |
Definition at line 306 of file bpred_unit.hh.
gem5::branch_prediction::BPredUnit::BPredUnitStats::BPredUnitStats | ( | statistics::Group * | parent | ) |
Definition at line 75 of file bpred_unit.cc.
References BTBHitRatio, and gem5::statistics::DataWrap< Derived, InfoProxyType >::precision().
statistics::Formula gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBHitRatio |
Stat for the ratio between BTB hits and BTB lookups.
Definition at line 323 of file bpred_unit.hh.
Referenced by BPredUnitStats().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBHits |
Stat for number of BTB hits.
Definition at line 321 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBLookups |
Stat for number of BTB lookups.
Definition at line 317 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBUpdates |
Stat for number of BTB updates.
Definition at line 319 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::BTBUpdate(), and gem5::branch_prediction::BPredUnit::squash().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condIncorrect |
Stat for number of conditional branches predicted incorrectly.
Definition at line 315 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::squash().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condPredicted |
Stat for number of conditional branches predicted.
Definition at line 313 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectHits |
Stat for the number of indirect target hits.
Definition at line 332 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectLookups |
Stat for the number of indirect target lookups.
Definition at line 330 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectMispredicted |
Stat for the number of indirect target mispredictions.
Definition at line 336 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::squash().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectMisses |
Stat for the number of indirect target misses.
Definition at line 334 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::lookups |
Stat for number of BP lookups.
Definition at line 311 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::RASIncorrect |
Stat for number of times the RAS is incorrect.
Definition at line 327 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::squash().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::RASUsed |
Stat for number of times the RAS is used to get a target.
Definition at line 325 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().