gem5  v21.2.1.1
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 numMiscRegReads
 
statistics::Scalar numMiscRegWrites
 
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 267 of file exec_context.hh.

Referenced by ExecContextStats().

◆ icacheStallCycles

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

Definition at line 264 of file exec_context.hh.

Referenced by ExecContextStats().

◆ idleFraction

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

Definition at line 261 of file exec_context.hh.

Referenced by ExecContextStats().

◆ notIdleFraction

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

Definition at line 260 of file exec_context.hh.

Referenced by ExecContextStats().

◆ numBranches

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

Total number of branches fetched

Definition at line 271 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 275 of file exec_context.hh.

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

◆ numBusyCycles

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

Definition at line 257 of file exec_context.hh.

Referenced by ExecContextStats().

◆ numCallsReturns

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

Definition at line 210 of file exec_context.hh.

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

◆ numCCRegReads

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

Definition at line 241 of file exec_context.hh.

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

◆ numCCRegWrites

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

Definition at line 242 of file exec_context.hh.

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

◆ numCondCtrlInsts

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

Definition at line 213 of file exec_context.hh.

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

◆ numFpAluAccesses

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

Definition at line 204 of file exec_context.hh.

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

◆ numFpInsts

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

Definition at line 219 of file exec_context.hh.

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

◆ numFpRegReads

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

Definition at line 229 of file exec_context.hh.

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

◆ numFpRegWrites

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

Definition at line 230 of file exec_context.hh.

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

◆ numIdleCycles

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

Definition at line 254 of file exec_context.hh.

Referenced by ExecContextStats().

◆ numInsts

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

Definition at line 197 of file exec_context.hh.

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

◆ numIntAluAccesses

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

Definition at line 201 of file exec_context.hh.

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

◆ numIntInsts

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

Definition at line 216 of file exec_context.hh.

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

◆ numIntRegReads

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

Definition at line 225 of file exec_context.hh.

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

◆ numIntRegWrites

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

Definition at line 226 of file exec_context.hh.

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

◆ numLoadInsts

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

Definition at line 250 of file exec_context.hh.

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

◆ numMemRefs

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

Definition at line 249 of file exec_context.hh.

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

◆ numMiscRegReads

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numMiscRegReads

◆ numMiscRegWrites

statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numMiscRegWrites

◆ numOps

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

Definition at line 198 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 273 of file exec_context.hh.

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

◆ numStoreInsts

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

Definition at line 251 of file exec_context.hh.

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

◆ numVecAluAccesses

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

Definition at line 207 of file exec_context.hh.

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

◆ numVecInsts

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

Definition at line 222 of file exec_context.hh.

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

◆ numVecPredRegReads

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

Definition at line 237 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 279 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 Wed May 4 2022 12:14:47 for gem5 by doxygen 1.8.17