gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::branch_prediction::BPredUnit::BPredUnitStats Struct Reference

Statistics. More...

#include <bpred_unit.hh>

Inheritance diagram for gem5::branch_prediction::BPredUnit::BPredUnitStats:
gem5::statistics::Group

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 InforesolveStat (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
 
Groupoperator= (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
 

Detailed Description

Statistics.

Definition at line 493 of file bpred_unit.hh.

Constructor & Destructor Documentation

◆ BPredUnitStats()

Member Data Documentation

◆ BTBHitRatio

statistics::Formula gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBHitRatio

Definition at line 521 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ BTBHits

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBHits

Definition at line 520 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ BTBLookups

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBLookups

BTB stats.

Definition at line 518 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ BTBMispredicted

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBMispredicted

Definition at line 522 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ BTBUpdates

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::BTBUpdates

Definition at line 519 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ committed

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::committed

Definition at line 502 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ condIncorrect

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condIncorrect

Definition at line 514 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ condPredicted

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().

◆ condPredictedTaken

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condPredictedTaken

Definition at line 513 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ corrected

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::corrected

Definition at line 500 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ earlyResteers

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::earlyResteers

Definition at line 501 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ indirectHits

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectHits

Definition at line 526 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ indirectLookups

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectLookups

Indirect stats.

Definition at line 525 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ indirectMispredicted

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectMispredicted

Definition at line 528 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ indirectMisses

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::indirectMisses

Definition at line 527 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ lookups

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::lookups

Stats per branch type.

Definition at line 498 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ mispredictDueToBTBMiss

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::mispredictDueToBTBMiss

Definition at line 505 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ mispredictDueToPredictor

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::mispredictDueToPredictor

Definition at line 504 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ mispredicted

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::mispredicted

Definition at line 503 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ predTakenBTBMiss

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::predTakenBTBMiss

Definition at line 515 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ squashes

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::squashes

Definition at line 499 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ targetProvider

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().

◆ targetWrong

statistics::Vector2d gem5::branch_prediction::BPredUnit::BPredUnitStats::targetWrong

Definition at line 509 of file bpred_unit.hh.

Referenced by BPredUnitStats().


The documentation for this struct was generated from the following files:

Generated on Mon May 26 2025 09:19:30 for gem5 by doxygen 1.13.2