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

#include <exec_context.hh>

Inheritance diagram for gem5::SimpleExecContext::ExecContextStats:
gem5::statistics::Group

Public Member Functions

 ExecContextStats (BaseSimpleCPU *cpu, SimpleThread *thread)
 
- 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
 
statistics::Scalar numOps
 
statistics::Scalar numIntAluAccesses
 
statistics::Scalar numFpAluAccesses
 
statistics::Scalar numVecAluAccesses
 
statistics::Scalar numCallsReturns
 
statistics::Scalar numCondCtrlInsts
 
statistics::Scalar numIntInsts
 
statistics::Scalar numFpInsts
 
statistics::Scalar numVecInsts
 
statistics::Scalar numIntRegReads
 
statistics::Scalar numIntRegWrites
 
statistics::Scalar numFpRegReads
 
statistics::Scalar numFpRegWrites
 
statistics::Scalar numVecRegReads
 
statistics::Scalar numVecRegWrites
 
statistics::Scalar numVecPredRegReads
 
statistics::Scalar numVecPredRegWrites
 
statistics::Scalar numCCRegReads
 
statistics::Scalar numCCRegWrites
 
statistics::Scalar numMemRefs
 
statistics::Scalar numLoadInsts
 
statistics::Scalar numStoreInsts
 
statistics::Formula numIdleCycles
 
statistics::Formula numBusyCycles
 
statistics::Average notIdleFraction
 
statistics::Formula idleFraction
 
statistics::Scalar icacheStallCycles
 
statistics::Scalar dcacheStallCycles
 
statistics::Vector statExecutedInstType
 
statistics::Scalar numBranches
 
statistics::Scalar numPredictedBranches
 Number of branches predicted as taken. More...
 
statistics::Scalar numBranchMispred
 Number of misprediced branches. More...
 

Detailed Description

Definition at line 85 of file exec_context.hh.

Constructor & Destructor Documentation

◆ ExecContextStats()

gem5::SimpleExecContext::ExecContextStats::ExecContextStats ( BaseSimpleCPU cpu,
SimpleThread thread 
)
inline

Member Data Documentation

◆ dcacheStallCycles

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::dcacheStallCycles

Definition at line 259 of file exec_context.hh.

Referenced by ExecContextStats().

◆ icacheStallCycles

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::icacheStallCycles

Definition at line 256 of file exec_context.hh.

Referenced by ExecContextStats().

◆ idleFraction

statistics::Formula gem5::SimpleExecContext::ExecContextStats::idleFraction

Definition at line 253 of file exec_context.hh.

Referenced by ExecContextStats().

◆ notIdleFraction

statistics::Average gem5::SimpleExecContext::ExecContextStats::notIdleFraction

Definition at line 252 of file exec_context.hh.

Referenced by ExecContextStats().

◆ numBranches

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numBranches

Total number of branches fetched

Definition at line 263 of file exec_context.hh.

Referenced by ExecContextStats(), and gem5::BaseSimpleCPU::postExecute().

◆ numBranchMispred

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numBranchMispred

Number of misprediced branches.

Definition at line 267 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::advancePC(), and ExecContextStats().

◆ numBusyCycles

statistics::Formula gem5::SimpleExecContext::ExecContextStats::numBusyCycles

Definition at line 249 of file exec_context.hh.

Referenced by ExecContextStats().

◆ numCallsReturns

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numCallsReturns

Definition at line 206 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numCCRegReads

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numCCRegReads

Definition at line 237 of file exec_context.hh.

Referenced by ExecContextStats(), and gem5::SimpleExecContext::readCCRegOperand().

◆ numCCRegWrites

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numCCRegWrites

Definition at line 238 of file exec_context.hh.

Referenced by ExecContextStats(), and gem5::SimpleExecContext::setCCRegOperand().

◆ numCondCtrlInsts

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numCondCtrlInsts

Definition at line 209 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numFpAluAccesses

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numFpAluAccesses

Definition at line 200 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numFpInsts

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numFpInsts

Definition at line 215 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numFpRegReads

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numFpRegReads

Definition at line 225 of file exec_context.hh.

Referenced by gem5::SimpleExecContext::readFloatRegOperandBits().

◆ numFpRegWrites

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numFpRegWrites

Definition at line 226 of file exec_context.hh.

Referenced by gem5::SimpleExecContext::setFloatRegOperandBits().

◆ numIdleCycles

statistics::Formula gem5::SimpleExecContext::ExecContextStats::numIdleCycles

Definition at line 246 of file exec_context.hh.

Referenced by ExecContextStats().

◆ numInsts

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numInsts

Definition at line 193 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::countInst().

◆ numIntAluAccesses

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numIntAluAccesses

Definition at line 197 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numIntInsts

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numIntInsts

Definition at line 212 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numIntRegReads

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numIntRegReads

◆ numIntRegWrites

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numIntRegWrites

◆ numLoadInsts

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numLoadInsts

Definition at line 242 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numMemRefs

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numMemRefs

Definition at line 241 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numOps

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numOps

Definition at line 194 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::countInst().

◆ numPredictedBranches

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numPredictedBranches

Number of branches predicted as taken.

Definition at line 265 of file exec_context.hh.

Referenced by ExecContextStats(), and gem5::BaseSimpleCPU::preExecute().

◆ numStoreInsts

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numStoreInsts

Definition at line 243 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numVecAluAccesses

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numVecAluAccesses

Definition at line 203 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numVecInsts

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numVecInsts

Definition at line 218 of file exec_context.hh.

Referenced by gem5::BaseSimpleCPU::postExecute().

◆ numVecPredRegReads

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numVecPredRegReads
mutable

Definition at line 233 of file exec_context.hh.

Referenced by gem5::SimpleExecContext::readVecPredRegOperand().

◆ numVecPredRegWrites

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numVecPredRegWrites

◆ numVecRegReads

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numVecRegReads
mutable

◆ numVecRegWrites

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numVecRegWrites

◆ statExecutedInstType

statistics::Vector gem5::SimpleExecContext::ExecContextStats::statExecutedInstType

Definition at line 271 of file exec_context.hh.

Referenced by ExecContextStats(), and gem5::BaseSimpleCPU::postExecute().


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

Generated on Tue Sep 21 2021 12:28:10 for gem5 by doxygen 1.8.17