gem5 v24.0.0.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 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
 

Detailed Description

Statistics.

Definition at line 399 of file bpred_unit.hh.

Constructor & Destructor Documentation

◆ BPredUnitStats()

Member Data Documentation

◆ BTBHitRatio

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

Definition at line 427 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ BTBHits

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

Definition at line 426 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::predict().

◆ BTBLookups

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

◆ BTBMispredicted

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

Definition at line 428 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::squash().

◆ BTBUpdates

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

◆ committed

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

◆ condIncorrect

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

Definition at line 418 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::squash().

◆ condPredicted

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

◆ condPredictedTaken

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

Definition at line 417 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::predict().

◆ corrected

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

◆ earlyResteers

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

◆ indirectHits

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

Definition at line 432 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::predict().

◆ indirectLookups

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

◆ indirectMispredicted

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

Definition at line 434 of file bpred_unit.hh.

◆ indirectMisses

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

Definition at line 433 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::predict().

◆ lookups

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

◆ mispredicted

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

◆ NotTakenMispredicted

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::NotTakenMispredicted

Definition at line 420 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::squash().

◆ predTakenBTBMiss

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

Definition at line 419 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::squash().

◆ squashes

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

◆ TakenMispredicted

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::TakenMispredicted

Definition at line 421 of file bpred_unit.hh.

Referenced by gem5::branch_prediction::BPredUnit::squash().

◆ targetProvider

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

◆ targetWrong

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


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

Generated on Tue Jun 18 2024 16:24:18 for gem5 by doxygen 1.11.0