gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Minor::MinorStats Struct Reference

Currently unused stats class. More...

#include <stats.hh>

Inheritance diagram for Minor::MinorStats:
Stats::Group

Public Member Functions

 MinorStats (BaseCPU *parent)
 
- 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...
 
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

Stats::Scalar numInsts
 Number of simulated instructions. More...
 
Stats::Scalar numOps
 Number of simulated insts and microops. More...
 
Stats::Scalar numDiscardedOps
 Number of ops discarded before committing. More...
 
Stats::Scalar numFetchSuspends
 Number of times fetch was asked to suspend by Execute. More...
 
Stats::Scalar quiesceCycles
 Number of cycles in quiescent state. More...
 
Stats::Formula cpi
 CPI/IPC for total cycle counts and macro insts. More...
 
Stats::Formula ipc
 
Stats::Vector2d committedInstType
 Number of instructions by type (OpClass) More...
 

Detailed Description

Currently unused stats class.

Definition at line 55 of file stats.hh.

Constructor & Destructor Documentation

◆ MinorStats()

Minor::MinorStats::MinorStats ( BaseCPU parent)

Member Data Documentation

◆ committedInstType

Stats::Vector2d Minor::MinorStats::committedInstType

Number of instructions by type (OpClass)

Definition at line 79 of file stats.hh.

Referenced by Minor::Execute::doInstCommitAccounting(), and MinorStats().

◆ cpi

Stats::Formula Minor::MinorStats::cpi

CPI/IPC for total cycle counts and macro insts.

Definition at line 75 of file stats.hh.

Referenced by MinorStats().

◆ ipc

Stats::Formula Minor::MinorStats::ipc

Definition at line 76 of file stats.hh.

Referenced by MinorStats().

◆ numDiscardedOps

Stats::Scalar Minor::MinorStats::numDiscardedOps

Number of ops discarded before committing.

Definition at line 66 of file stats.hh.

Referenced by Minor::Execute::commit().

◆ numFetchSuspends

Stats::Scalar Minor::MinorStats::numFetchSuspends

Number of times fetch was asked to suspend by Execute.

Definition at line 69 of file stats.hh.

Referenced by Minor::Execute::commitInst().

◆ numInsts

Stats::Scalar Minor::MinorStats::numInsts

Number of simulated instructions.

Definition at line 60 of file stats.hh.

Referenced by Minor::Execute::doInstCommitAccounting(), and MinorStats().

◆ numOps

Stats::Scalar Minor::MinorStats::numOps

Number of simulated insts and microops.

Definition at line 63 of file stats.hh.

Referenced by Minor::Execute::doInstCommitAccounting().

◆ quiesceCycles

Stats::Scalar Minor::MinorStats::quiesceCycles

Number of cycles in quiescent state.

Definition at line 72 of file stats.hh.

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


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

Generated on Tue Mar 23 2021 19:42:02 for gem5 by doxygen 1.8.17