gem5 v24.0.0.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 | 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 | NotTakenMispredicted |
statistics::Scalar | TakenMispredicted |
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 399 of file bpred_unit.hh.
gem5::branch_prediction::BPredUnit::BPredUnitStats::BPredUnitStats | ( | BPredUnit * | bp | ) |
Definition at line 633 of file bpred_unit.cc.
References BTBHitRatio, committed, corrected, earlyResteers, gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), gem5::statistics::Vector2dBase< Derived, Stor >::init(), lookups, mispredicted, gem5::branch_prediction::BPredUnit::numThreads, gem5::statistics::pdf, gem5::statistics::DataWrap< Derived, InfoProxyType >::precision(), squashes, targetProvider, targetWrong, gem5::statistics::total, and gem5::statistics::DataWrapVec2d< Derived, InfoProxyType >::ysubnames().
statistics::Formula gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBHitRatio |
Definition at line 427 of file bpred_unit.hh.
Referenced by BPredUnitStats().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBHits |
Definition at line 426 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBLookups |
BTB stats.
Definition at line 424 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBMispredicted |
Definition at line 428 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::squash().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBUpdates |
Definition at line 425 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::BTBUpdate(), and gem5::branch_prediction::BPredUnit::squash().
statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::committed |
Definition at line 408 of file bpred_unit.hh.
Referenced by BPredUnitStats(), and gem5::branch_prediction::BPredUnit::commitBranch().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condIncorrect |
Definition at line 418 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::squash().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condPredicted |
Additional scalar stats for conditional branches.
Definition at line 416 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condPredictedTaken |
Definition at line 417 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::corrected |
Definition at line 406 of file bpred_unit.hh.
Referenced by BPredUnitStats(), and gem5::branch_prediction::BPredUnit::squash().
statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::earlyResteers |
Definition at line 407 of file bpred_unit.hh.
Referenced by BPredUnitStats(), and gem5::branch_prediction::BPredUnit::squash().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectHits |
Definition at line 432 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectLookups |
Indirect stats.
Definition at line 431 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectMispredicted |
Definition at line 434 of file bpred_unit.hh.
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectMisses |
Definition at line 433 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::predict().
statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::lookups |
Stats per branch type.
Definition at line 404 of file bpred_unit.hh.
Referenced by BPredUnitStats(), and gem5::branch_prediction::BPredUnit::predict().
statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::mispredicted |
Definition at line 409 of file bpred_unit.hh.
Referenced by BPredUnitStats(), and gem5::branch_prediction::BPredUnit::commitBranch().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::NotTakenMispredicted |
Definition at line 420 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::squash().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::predTakenBTBMiss |
Definition at line 419 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::squash().
statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::squashes |
Definition at line 405 of file bpred_unit.hh.
Referenced by BPredUnitStats(), and gem5::branch_prediction::BPredUnit::squashHistory().
statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::TakenMispredicted |
Definition at line 421 of file bpred_unit.hh.
Referenced by gem5::branch_prediction::BPredUnit::squash().
statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::targetProvider |
Target prediction per branch type.
Definition at line 412 of file bpred_unit.hh.
Referenced by BPredUnitStats(), and gem5::branch_prediction::BPredUnit::predict().
statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::targetWrong |
Definition at line 413 of file bpred_unit.hh.
Referenced by BPredUnitStats(), and gem5::branch_prediction::BPredUnit::squash().