gem5  v22.0.0.1
Public Member Functions | Public Attributes | List of all members
gem5::branch_prediction::BPredUnit::BPredUnitStats Struct Reference
Inheritance diagram for gem5::branch_prediction::BPredUnit::BPredUnitStats:
gem5::statistics::Group

Public Member Functions

 BPredUnitStats (statistics::Group *parent)
 
- Public Member Functions inherited from gem5::statistics::Group
 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 InforesolveStat (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
 
Groupoperator= (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 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...
 

Detailed Description

Definition at line 305 of file bpred_unit.hh.

Constructor & Destructor Documentation

◆ BPredUnitStats()

gem5::branch_prediction::BPredUnit::BPredUnitStats::BPredUnitStats ( statistics::Group parent)

Member Data Documentation

◆ BTBHitRatio

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

Stat for the ratio between BTB hits and BTB lookups.

Definition at line 320 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ BTBHits

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

Stat for number of BTB hits.

Definition at line 318 of file bpred_unit.hh.

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

◆ BTBLookups

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

Stat for number of BTB lookups.

Definition at line 316 of file bpred_unit.hh.

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

◆ condIncorrect

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

Stat for number of conditional branches predicted incorrectly.

Definition at line 314 of file bpred_unit.hh.

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

◆ condPredicted

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::condPredicted

Stat for number of conditional branches predicted.

Definition at line 312 of file bpred_unit.hh.

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

◆ indirectHits

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

Stat for the number of indirect target hits.

Definition at line 329 of file bpred_unit.hh.

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

◆ indirectLookups

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

Stat for the number of indirect target lookups.

Definition at line 327 of file bpred_unit.hh.

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

◆ indirectMispredicted

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

Stat for the number of indirect target mispredictions.

Definition at line 333 of file bpred_unit.hh.

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

◆ indirectMisses

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

Stat for the number of indirect target misses.

Definition at line 331 of file bpred_unit.hh.

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

◆ lookups

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::lookups

Stat for number of BP lookups.

Definition at line 310 of file bpred_unit.hh.

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

◆ RASIncorrect

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::RASIncorrect

Stat for number of times the RAS is incorrect.

Definition at line 324 of file bpred_unit.hh.

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

◆ RASUsed

statistics::Scalar gem5::branch_prediction::BPredUnit::BPredUnitStats::RASUsed

Stat for number of times the RAS is used to get a target.

Definition at line 322 of file bpred_unit.hh.

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


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

Generated on Sat Jun 18 2022 08:13:38 for gem5 by doxygen 1.8.17