|
gem5 [DEVELOP-FOR-25.0]
|
Statistics. More...
#include <bpred_unit.hh>
Public Member Functions | |
| BPredUnitStats (BPredUnit *bp) | |
Public Member Functions inherited from gem5::statistics::Group | |
| Group (Group *parent, const char *name=nullptr) | |
| Construct a new statistics group. | |
| virtual | ~Group () |
| virtual void | regStats () |
| Callback to set stat parameters. | |
| virtual void | resetStats () |
| Callback to reset stats. | |
| virtual void | preDumpStats () |
| Callback before stats are dumped. | |
| void | addStat (statistics::Info *info) |
| Register a stat with this group. | |
| const std::map< std::string, Group * > & | getStatGroups () const |
| Get all child groups associated with this object. | |
| const std::vector< Info * > & | getStats () const |
| Get all stats associated with this object. | |
| void | addStatGroup (const char *name, Group *block) |
| Add a stat block as a child of this block. | |
| const Info * | resolveStat (std::string name) const |
| Resolve a stat by its name within this group. | |
| void | mergeStatGroup (Group *block) |
| Merge the contents (stats & children) of a block to this block. | |
| Group ()=delete | |
| Group (const Group &)=delete | |
| Group & | operator= (const Group &)=delete |
Public Attributes | |
| statistics::Vector2d | lookups |
| Stats per branch type. | |
| statistics::Vector2d | squashes |
| statistics::Vector2d | corrected |
| statistics::Vector2d | earlyResteers |
| statistics::Vector2d | committed |
| statistics::Vector2d | mispredicted |
| statistics::Vector2d | mispredictDueToPredictor |
| statistics::Vector2d | mispredictDueToBTBMiss |
| statistics::Vector2d | targetProvider |
| Target prediction per branch type. | |
| statistics::Vector2d | targetWrong |
| statistics::Scalar | condPredicted |
| Additional scalar stats for conditional branches. | |
| statistics::Scalar | condPredictedTaken |
| statistics::Scalar | condIncorrect |
| statistics::Scalar | predTakenBTBMiss |
| statistics::Scalar | BTBLookups |
| BTB stats. | |
| statistics::Scalar | BTBUpdates |
| statistics::Scalar | BTBHits |
| statistics::Formula | BTBHitRatio |
| statistics::Scalar | BTBMispredicted |
| statistics::Scalar | indirectLookups |
| Indirect stats. | |
| statistics::Scalar | indirectHits |
| statistics::Scalar | indirectMisses |
| statistics::Scalar | indirectMispredicted |
Statistics.
Definition at line 493 of file bpred_unit.hh.
| gem5::branch_prediction::BPredUnit::BPredUnitStats::BPredUnitStats | ( | BPredUnit * | bp | ) |
Definition at line 640 of file bpred_unit.cc.
References ADD_STAT, gem5::branch_prediction::BPredUnit::BPredUnit(), BTBHitRatio, BTBHits, BTBLookups, BTBMispredicted, BTBUpdates, committed, condIncorrect, condPredicted, condPredictedTaken, corrected, earlyResteers, gem5::statistics::Group::Group(), indirectHits, indirectLookups, indirectMispredicted, indirectMisses, lookups, mispredictDueToBTBMiss, mispredictDueToPredictor, mispredicted, gem5::branch_prediction::BPredUnit::numThreads, gem5::statistics::pdf, predTakenBTBMiss, squashes, targetProvider, targetWrong, and gem5::statistics::total.
| statistics::Formula gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBHitRatio |
Definition at line 521 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBHits |
Definition at line 520 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBLookups |
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBMispredicted |
Definition at line 522 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBUpdates |
Definition at line 519 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::committed |
Definition at line 502 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condIncorrect |
Definition at line 514 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condPredicted |
Additional scalar stats for conditional branches.
Definition at line 512 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condPredictedTaken |
Definition at line 513 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::corrected |
Definition at line 500 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::earlyResteers |
Definition at line 501 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectHits |
Definition at line 526 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectLookups |
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectMispredicted |
Definition at line 528 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectMisses |
Definition at line 527 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::lookups |
Stats per branch type.
Definition at line 498 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::mispredictDueToBTBMiss |
Definition at line 505 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::mispredictDueToPredictor |
Definition at line 504 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::mispredicted |
Definition at line 503 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::predTakenBTBMiss |
Definition at line 515 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::squashes |
Definition at line 499 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::targetProvider |
Target prediction per branch type.
Definition at line 508 of file bpred_unit.hh.
Referenced by BPredUnitStats().
| statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::targetWrong |
Definition at line 509 of file bpred_unit.hh.
Referenced by BPredUnitStats().