gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
DefaultCommit< Impl >::CommitStats Struct Reference
Inheritance diagram for DefaultCommit< Impl >::CommitStats:
Stats::Group

Public Member Functions

 CommitStats (O3CPU *cpu, DefaultCommit *commit)
 
- 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 commitSquashedInsts
 Stat for the total number of squashed instructions discarded by commit. More...
 
Stats::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...
 
Stats::Scalar branchMispredicts
 Stat for the total number of branch mispredicts that caused a squash. More...
 
Stats::Distribution numCommittedDist
 Distribution of the number of committed instructions each cycle. More...
 
Stats::Vector instsCommitted
 Total number of instructions committed. More...
 
Stats::Vector opsCommitted
 Total number of ops (including micro ops) committed. More...
 
Stats::Vector memRefs
 Stat for the total number of committed memory references. More...
 
Stats::Vector loads
 Stat for the total number of committed loads. More...
 
Stats::Vector amos
 Stat for the total number of committed atomics. More...
 
Stats::Vector membars
 Total number of committed memory barriers. More...
 
Stats::Vector branches
 Total number of committed branches. More...
 
Stats::Vector vector
 Total number of vector instructions. More...
 
Stats::Vector floating
 Total number of floating point instructions. More...
 
Stats::Vector integer
 Total number of integer instructions. More...
 
Stats::Vector functionCalls
 Total number of function calls. More...
 
Stats::Vector2d committedInstType
 Committed instructions by instruction type (OpClass) More...
 
Stats::Scalar commitEligibleSamples
 Number of cycles where the commit bandwidth limit is reached. More...
 

Detailed Description

template<class Impl>
struct DefaultCommit< Impl >::CommitStats

Definition at line 483 of file commit.hh.

Constructor & Destructor Documentation

◆ CommitStats()

template<class Impl >
DefaultCommit< Impl >::CommitStats::CommitStats ( O3CPU cpu,
DefaultCommit commit 
)

Member Data Documentation

◆ amos

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::amos

Stat for the total number of committed atomics.

Definition at line 509 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ branches

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::branches

Total number of committed branches.

Definition at line 513 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ branchMispredicts

template<class Impl >
Stats::Scalar DefaultCommit< Impl >::CommitStats::branchMispredicts

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

Definition at line 496 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ commitEligibleSamples

template<class Impl >
Stats::Scalar DefaultCommit< Impl >::CommitStats::commitEligibleSamples

Number of cycles where the commit bandwidth limit is reached.

Definition at line 526 of file commit.hh.

◆ commitNonSpecStalls

template<class Impl >
Stats::Scalar DefaultCommit< Impl >::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 492 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ commitSquashedInsts

template<class Impl >
Stats::Scalar DefaultCommit< Impl >::CommitStats::commitSquashedInsts

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

Definition at line 488 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ committedInstType

template<class Impl >
Stats::Vector2d DefaultCommit< Impl >::CommitStats::committedInstType

Committed instructions by instruction type (OpClass)

Definition at line 523 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ floating

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::floating

Total number of floating point instructions.

Definition at line 517 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ functionCalls

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::functionCalls

Total number of function calls.

Definition at line 521 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ instsCommitted

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::instsCommitted

Total number of instructions committed.

Definition at line 501 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ integer

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::integer

Total number of integer instructions.

Definition at line 519 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ loads

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::loads

Stat for the total number of committed loads.

Definition at line 507 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ membars

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::membars

Total number of committed memory barriers.

Definition at line 511 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ memRefs

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::memRefs

Stat for the total number of committed memory references.

Definition at line 505 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ numCommittedDist

template<class Impl >
Stats::Distribution DefaultCommit< Impl >::CommitStats::numCommittedDist

Distribution of the number of committed instructions each cycle.

Definition at line 498 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ opsCommitted

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::opsCommitted

Total number of ops (including micro ops) committed.

Definition at line 503 of file commit.hh.

Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().

◆ vector

template<class Impl >
Stats::Vector DefaultCommit< Impl >::CommitStats::vector

Total number of vector instructions.

Definition at line 515 of file commit.hh.


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

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