gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::minor::MinorStats Struct Reference

Currently unused stats class. More...

#include <stats.hh>

Inheritance diagram for gem5::minor::MinorStats:
gem5::statistics::Group

Public Member Functions

 MinorStats (BaseCPU *parent)
 
- 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 numInsts
 Number of simulated instructions. More...
 
statistics::Scalar numOps
 Number of simulated insts and microops. More...
 
statistics::Scalar numDiscardedOps
 Number of ops discarded before committing. More...
 
statistics::Scalar numFetchSuspends
 Number of times fetch was asked to suspend by Execute. More...
 
statistics::Scalar quiesceCycles
 Number of cycles in quiescent state. More...
 
statistics::Formula cpi
 CPI/IPC for total cycle counts and macro insts. More...
 
statistics::Formula ipc
 
statistics::Vector2d committedInstType
 Number of instructions by type (OpClass) More...
 

Detailed Description

Currently unused stats class.

Definition at line 59 of file stats.hh.

Constructor & Destructor Documentation

◆ MinorStats()

gem5::minor::MinorStats::MinorStats ( BaseCPU parent)

Member Data Documentation

◆ committedInstType

statistics::Vector2d gem5::minor::MinorStats::committedInstType

Number of instructions by type (OpClass)

Definition at line 83 of file stats.hh.

Referenced by gem5::minor::Execute::doInstCommitAccounting(), and MinorStats().

◆ cpi

statistics::Formula gem5::minor::MinorStats::cpi

CPI/IPC for total cycle counts and macro insts.

Definition at line 79 of file stats.hh.

Referenced by MinorStats().

◆ ipc

statistics::Formula gem5::minor::MinorStats::ipc

Definition at line 80 of file stats.hh.

Referenced by MinorStats().

◆ numDiscardedOps

statistics::Scalar gem5::minor::MinorStats::numDiscardedOps

Number of ops discarded before committing.

Definition at line 70 of file stats.hh.

Referenced by gem5::minor::Execute::commit().

◆ numFetchSuspends

statistics::Scalar gem5::minor::MinorStats::numFetchSuspends

Number of times fetch was asked to suspend by Execute.

Definition at line 73 of file stats.hh.

Referenced by gem5::minor::Execute::commitInst().

◆ numInsts

statistics::Scalar gem5::minor::MinorStats::numInsts

Number of simulated instructions.

Definition at line 64 of file stats.hh.

Referenced by gem5::minor::Execute::doInstCommitAccounting(), and MinorStats().

◆ numOps

statistics::Scalar gem5::minor::MinorStats::numOps

Number of simulated insts and microops.

Definition at line 67 of file stats.hh.

Referenced by gem5::minor::Execute::doInstCommitAccounting().

◆ quiesceCycles

statistics::Scalar gem5::minor::MinorStats::quiesceCycles

Number of cycles in quiescent state.

Definition at line 76 of file stats.hh.

Referenced by gem5::MinorCPU::activateContext(), and MinorStats().


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

Generated on Tue Sep 21 2021 12:31:34 for gem5 by doxygen 1.8.17