gem5  v22.1.0.0
Public Member Functions | Public Attributes | List of all members
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. 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 commitSquashedInsts
 Stat for the total number of squashed instructions discarded by commit. More...
 
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. More...
 
statistics::Scalar branchMispredicts
 Stat for the total number of branch mispredicts that caused a squash. More...
 
statistics::Distribution numCommittedDist
 Distribution of the number of committed instructions each cycle. More...
 
statistics::Vector instsCommitted
 Total number of instructions committed. More...
 
statistics::Vector opsCommitted
 Total number of ops (including micro ops) committed. More...
 
statistics::Vector memRefs
 Stat for the total number of committed memory references. More...
 
statistics::Vector loads
 Stat for the total number of committed loads. More...
 
statistics::Vector amos
 Stat for the total number of committed atomics. More...
 
statistics::Vector membars
 Total number of committed memory barriers. More...
 
statistics::Vector branches
 Total number of committed branches. More...
 
statistics::Vector vectorInstructions
 Total number of vector instructions. More...
 
statistics::Vector floating
 Total number of floating point instructions. More...
 
statistics::Vector integer
 Total number of integer instructions. More...
 
statistics::Vector functionCalls
 Total number of function calls. More...
 
statistics::Vector2d committedInstType
 Committed instructions by instruction type (OpClass) More...
 
statistics::Scalar commitEligibleSamples
 Number of cycles where the commit bandwidth limit is reached. More...
 

Detailed Description

Definition at line 464 of file commit.hh.

Constructor & Destructor Documentation

◆ CommitStats()

gem5::o3::Commit::CommitStats::CommitStats ( CPU cpu,
Commit commit 
)

Member Data Documentation

◆ amos

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

Stat for the total number of committed atomics.

Definition at line 491 of file commit.hh.

Referenced by CommitStats().

◆ branches

statistics::Vector gem5::o3::Commit::CommitStats::branches

Total number of committed branches.

Definition at line 495 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 CommitStats().

◆ commitEligibleSamples

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

Number of cycles where the commit bandwidth limit is reached.

Definition at line 508 of file commit.hh.

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

◆ committedInstType

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

Committed instructions by instruction type (OpClass)

Definition at line 505 of file commit.hh.

Referenced by CommitStats().

◆ floating

statistics::Vector gem5::o3::Commit::CommitStats::floating

Total number of floating point instructions.

Definition at line 499 of file commit.hh.

Referenced by CommitStats().

◆ functionCalls

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

Total number of function calls.

Definition at line 503 of file commit.hh.

Referenced by CommitStats().

◆ instsCommitted

statistics::Vector gem5::o3::Commit::CommitStats::instsCommitted

Total number of instructions committed.

Definition at line 483 of file commit.hh.

Referenced by CommitStats().

◆ integer

statistics::Vector gem5::o3::Commit::CommitStats::integer

Total number of integer instructions.

Definition at line 501 of file commit.hh.

Referenced by CommitStats().

◆ loads

statistics::Vector gem5::o3::Commit::CommitStats::loads

Stat for the total number of committed loads.

Definition at line 489 of file commit.hh.

Referenced by CommitStats().

◆ membars

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

Total number of committed memory barriers.

Definition at line 493 of file commit.hh.

Referenced by CommitStats().

◆ memRefs

statistics::Vector gem5::o3::Commit::CommitStats::memRefs

Stat for the total number of committed memory references.

Definition at line 487 of file commit.hh.

Referenced by CommitStats().

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

◆ opsCommitted

statistics::Vector gem5::o3::Commit::CommitStats::opsCommitted

Total number of ops (including micro ops) committed.

Definition at line 485 of file commit.hh.

Referenced by CommitStats().

◆ vectorInstructions

statistics::Vector gem5::o3::Commit::CommitStats::vectorInstructions

Total number of vector instructions.

Definition at line 497 of file commit.hh.

Referenced by CommitStats().


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

Generated on Wed Dec 21 2022 10:24:17 for gem5 by doxygen 1.9.1