gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::o3::Commit::CommitStats Struct Reference
Inheritance diagram for gem5::o3::Commit::CommitStats:
gem5::statistics::Group

Public Member Functions

 CommitStats (CPU *cpu, Commit *commit)
 
- 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 commitSquashedInsts
 Stat for the total number of squashed instructions discarded by commit.
 
statistics::Scalar commitNonSpecStalls
 Stat for the total number of times commit has had to stall due to a non-speculative instruction reaching the head of the ROB.
 
statistics::Scalar branchMispredicts
 Stat for the total number of branch mispredicts that caused a squash.
 
statistics::Distribution numCommittedDist
 Distribution of the number of committed instructions each cycle.
 
statistics::Vector amos
 Stat for the total number of committed atomics.
 
statistics::Vector membars
 Total number of committed memory barriers.
 
statistics::Vector functionCalls
 Total number of function calls.
 
statistics::Vector2d committedInstType
 Committed instructions by instruction type (OpClass)
 
statistics::Scalar commitEligibleSamples
 Number of cycles where the commit bandwidth limit is reached.
 

Detailed Description

Definition at line 464 of file commit.hh.

Constructor & Destructor Documentation

◆ CommitStats()

Member Data Documentation

◆ amos

statistics::Vector gem5::o3::Commit::CommitStats::amos

Stat for the total number of committed atomics.

Definition at line 483 of file commit.hh.

Referenced by CommitStats().

◆ branchMispredicts

statistics::Scalar gem5::o3::Commit::CommitStats::branchMispredicts

Stat for the total number of branch mispredicts that caused a squash.

Definition at line 478 of file commit.hh.

Referenced by gem5::o3::Commit::commit(), and CommitStats().

◆ commitEligibleSamples

statistics::Scalar gem5::o3::Commit::CommitStats::commitEligibleSamples

Number of cycles where the commit bandwidth limit is reached.

Definition at line 492 of file commit.hh.

Referenced by gem5::o3::Commit::commitInsts().

◆ commitNonSpecStalls

statistics::Scalar gem5::o3::Commit::CommitStats::commitNonSpecStalls

Stat for the total number of times commit has had to stall due to a non-speculative instruction reaching the head of the ROB.

Definition at line 474 of file commit.hh.

Referenced by gem5::o3::Commit::commitHead(), and CommitStats().

◆ commitSquashedInsts

statistics::Scalar gem5::o3::Commit::CommitStats::commitSquashedInsts

Stat for the total number of squashed instructions discarded by commit.

Definition at line 470 of file commit.hh.

Referenced by gem5::o3::Commit::commitInsts(), and CommitStats().

◆ committedInstType

statistics::Vector2d gem5::o3::Commit::CommitStats::committedInstType

Committed instructions by instruction type (OpClass)

Definition at line 489 of file commit.hh.

Referenced by gem5::o3::Commit::commitInsts(), and CommitStats().

◆ functionCalls

statistics::Vector gem5::o3::Commit::CommitStats::functionCalls

Total number of function calls.

Definition at line 487 of file commit.hh.

Referenced by CommitStats(), and gem5::o3::Commit::updateComInstStats().

◆ membars

statistics::Vector gem5::o3::Commit::CommitStats::membars

Total number of committed memory barriers.

Definition at line 485 of file commit.hh.

Referenced by CommitStats(), and gem5::o3::Commit::updateComInstStats().

◆ numCommittedDist

statistics::Distribution gem5::o3::Commit::CommitStats::numCommittedDist

Distribution of the number of committed instructions each cycle.

Definition at line 480 of file commit.hh.

Referenced by gem5::o3::Commit::commitInsts(), and CommitStats().


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

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