gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
BPredUnit::BPredUnitStats Struct Reference
Inheritance diagram for BPredUnit::BPredUnitStats:
Stats::Group

Public Member Functions

 BPredUnitStats (Stats::Group *parent)
 
- Public Member Functions inherited from Stats::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 (Stats::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...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 

Public Attributes

Stats::Scalar lookups
 Stat for number of BP lookups. More...
 
Stats::Scalar condPredicted
 Stat for number of conditional branches predicted. More...
 
Stats::Scalar condIncorrect
 Stat for number of conditional branches predicted incorrectly. More...
 
Stats::Scalar BTBLookups
 Stat for number of BTB lookups. More...
 
Stats::Scalar BTBHits
 Stat for number of BTB hits. More...
 
Stats::Formula BTBHitPct
 Stat for percent times an entry in BTB found. More...
 
Stats::Scalar RASUsed
 Stat for number of times the RAS is used to get a target. More...
 
Stats::Scalar RASIncorrect
 Stat for number of times the RAS is incorrect. More...
 
Stats::Scalar indirectLookups
 Stat for the number of indirect target lookups. More...
 
Stats::Scalar indirectHits
 Stat for the number of indirect target hits. More...
 
Stats::Scalar indirectMisses
 Stat for the number of indirect target misses. More...
 
Stats::Scalar indirectMispredicted
 Stat for the number of indirect target mispredictions. More...
 

Detailed Description

Definition at line 280 of file bpred_unit.hh.

Constructor & Destructor Documentation

◆ BPredUnitStats()

BPredUnit::BPredUnitStats::BPredUnitStats ( Stats::Group parent)

Member Data Documentation

◆ BTBHitPct

Stats::Formula BPredUnit::BPredUnitStats::BTBHitPct

Stat for percent times an entry in BTB found.

Definition at line 294 of file bpred_unit.hh.

Referenced by BPredUnitStats().

◆ BTBHits

Stats::Scalar BPredUnit::BPredUnitStats::BTBHits

Stat for number of BTB hits.

Definition at line 292 of file bpred_unit.hh.

Referenced by BPredUnit::predict().

◆ BTBLookups

Stats::Scalar BPredUnit::BPredUnitStats::BTBLookups

Stat for number of BTB lookups.

Definition at line 290 of file bpred_unit.hh.

Referenced by BPredUnit::predict().

◆ condIncorrect

Stats::Scalar BPredUnit::BPredUnitStats::condIncorrect

Stat for number of conditional branches predicted incorrectly.

Definition at line 288 of file bpred_unit.hh.

Referenced by BPredUnit::squash().

◆ condPredicted

Stats::Scalar BPredUnit::BPredUnitStats::condPredicted

Stat for number of conditional branches predicted.

Definition at line 286 of file bpred_unit.hh.

Referenced by BPredUnit::predict().

◆ indirectHits

Stats::Scalar BPredUnit::BPredUnitStats::indirectHits

Stat for the number of indirect target hits.

Definition at line 303 of file bpred_unit.hh.

Referenced by BPredUnit::predict().

◆ indirectLookups

Stats::Scalar BPredUnit::BPredUnitStats::indirectLookups

Stat for the number of indirect target lookups.

Definition at line 301 of file bpred_unit.hh.

Referenced by BPredUnit::predict().

◆ indirectMispredicted

Stats::Scalar BPredUnit::BPredUnitStats::indirectMispredicted

Stat for the number of indirect target mispredictions.

Definition at line 307 of file bpred_unit.hh.

Referenced by BPredUnit::squash().

◆ indirectMisses

Stats::Scalar BPredUnit::BPredUnitStats::indirectMisses

Stat for the number of indirect target misses.

Definition at line 305 of file bpred_unit.hh.

Referenced by BPredUnit::predict().

◆ lookups

Stats::Scalar BPredUnit::BPredUnitStats::lookups

Stat for number of BP lookups.

Definition at line 284 of file bpred_unit.hh.

Referenced by BPredUnit::predict().

◆ RASIncorrect

Stats::Scalar BPredUnit::BPredUnitStats::RASIncorrect

Stat for number of times the RAS is incorrect.

Definition at line 298 of file bpred_unit.hh.

Referenced by BPredUnit::squash().

◆ RASUsed

Stats::Scalar BPredUnit::BPredUnitStats::RASUsed

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

Definition at line 296 of file bpred_unit.hh.

Referenced by BPredUnit::predict().


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

Generated on Wed Sep 30 2020 14:02:22 for gem5 by doxygen 1.8.17