gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats Struct Reference
Inheritance diagram for gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats:
gem5::statistics::Group

Public Member Functions

 ReturnAddrStackStats (statistics::Group *parent)
 
- 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::Scalar pushes
 
statistics::Scalar pops
 
statistics::Scalar squashes
 
statistics::Scalar used
 
statistics::Scalar correct
 
statistics::Scalar incorrect
 

Detailed Description

Definition at line 209 of file ras.hh.

Constructor & Destructor Documentation

◆ ReturnAddrStackStats()

gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats::ReturnAddrStackStats ( statistics::Group * parent)

Definition at line 307 of file ras.cc.

Member Data Documentation

◆ correct

statistics::Scalar gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats::correct

Definition at line 216 of file ras.hh.

Referenced by gem5::branch_prediction::ReturnAddrStack::commit().

◆ incorrect

statistics::Scalar gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats::incorrect

Definition at line 217 of file ras.hh.

Referenced by gem5::branch_prediction::ReturnAddrStack::commit().

◆ pops

statistics::Scalar gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats::pops

◆ pushes

statistics::Scalar gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats::pushes

◆ squashes

statistics::Scalar gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats::squashes

Definition at line 214 of file ras.hh.

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

◆ used

statistics::Scalar gem5::branch_prediction::ReturnAddrStack::ReturnAddrStackStats::used

Definition at line 215 of file ras.hh.

Referenced by gem5::branch_prediction::ReturnAddrStack::commit().


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