|
gem5
v21.0.1.0
|
#include <exec_context.hh>
Public Member Functions | |
| ExecContextStats (BaseSimpleCPU *cpu, SimpleThread *thread) | |
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 Info * | resolveStat (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 | |
| Group & | operator= (const Group &)=delete |
Definition at line 82 of file exec_context.hh.
|
inline |
Definition at line 84 of file exec_context.hh.
References BaseCPU::baseStats, Stats::constant(), SimpleExecContext::cpu, dcacheStallCycles, Stats::dist, Stats::DataWrap< Derived, InfoProxyType >::flags(), ArmISA::i, icacheStallCycles, idleFraction, Stats::VectorBase< Derived, Stor >::init(), notIdleFraction, Stats::nozero, Num_OpClasses, numBranches, numBranchMispred, numBusyCycles, numCCRegReads, numCCRegWrites, BaseCPU::BaseCPUStats::numCycles, numIdleCycles, numPredictedBranches, Stats::pdf, Stats::DataWrap< Derived, InfoProxyType >::prereq(), statExecutedInstType, Stats::DataWrapVec< Derived, InfoProxyType >::subname(), and Stats::total.
| Stats::Scalar SimpleExecContext::ExecContextStats::dcacheStallCycles |
Definition at line 250 of file exec_context.hh.
Referenced by ExecContextStats().
| Stats::Scalar SimpleExecContext::ExecContextStats::icacheStallCycles |
Definition at line 247 of file exec_context.hh.
Referenced by ExecContextStats().
| Stats::Formula SimpleExecContext::ExecContextStats::idleFraction |
Definition at line 244 of file exec_context.hh.
Referenced by ExecContextStats().
| Stats::Average SimpleExecContext::ExecContextStats::notIdleFraction |
Definition at line 243 of file exec_context.hh.
Referenced by ExecContextStats().
| Stats::Scalar SimpleExecContext::ExecContextStats::numBranches |
Total number of branches fetched
Definition at line 254 of file exec_context.hh.
Referenced by ExecContextStats(), and BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numBranchMispred |
Number of misprediced branches.
Definition at line 258 of file exec_context.hh.
Referenced by BaseSimpleCPU::advancePC(), and ExecContextStats().
| Stats::Formula SimpleExecContext::ExecContextStats::numBusyCycles |
Definition at line 240 of file exec_context.hh.
Referenced by ExecContextStats().
| Stats::Scalar SimpleExecContext::ExecContextStats::numCallsReturns |
Definition at line 197 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numCCRegReads |
Definition at line 228 of file exec_context.hh.
Referenced by ExecContextStats(), and SimpleExecContext::readCCRegOperand().
| Stats::Scalar SimpleExecContext::ExecContextStats::numCCRegWrites |
Definition at line 229 of file exec_context.hh.
Referenced by ExecContextStats(), and SimpleExecContext::setCCRegOperand().
| Stats::Scalar SimpleExecContext::ExecContextStats::numCondCtrlInsts |
Definition at line 200 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numFpAluAccesses |
Definition at line 191 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numFpInsts |
Definition at line 206 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numFpRegReads |
Definition at line 216 of file exec_context.hh.
Referenced by SimpleExecContext::readFloatRegOperandBits().
| Stats::Scalar SimpleExecContext::ExecContextStats::numFpRegWrites |
Definition at line 217 of file exec_context.hh.
Referenced by SimpleExecContext::setFloatRegOperandBits().
| Stats::Formula SimpleExecContext::ExecContextStats::numIdleCycles |
Definition at line 237 of file exec_context.hh.
Referenced by ExecContextStats().
| Stats::Scalar SimpleExecContext::ExecContextStats::numInsts |
Definition at line 184 of file exec_context.hh.
Referenced by BaseSimpleCPU::countInst().
| Stats::Scalar SimpleExecContext::ExecContextStats::numIntAluAccesses |
Definition at line 188 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numIntInsts |
Definition at line 203 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numIntRegReads |
Definition at line 212 of file exec_context.hh.
Referenced by SimpleExecContext::readIntRegOperand(), SimpleExecContext::readMiscReg(), and SimpleExecContext::readMiscRegOperand().
| Stats::Scalar SimpleExecContext::ExecContextStats::numIntRegWrites |
Definition at line 213 of file exec_context.hh.
Referenced by SimpleExecContext::setIntRegOperand(), SimpleExecContext::setMiscReg(), and SimpleExecContext::setMiscRegOperand().
| Stats::Scalar SimpleExecContext::ExecContextStats::numLoadInsts |
Definition at line 233 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numMemRefs |
Definition at line 232 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numOps |
Definition at line 185 of file exec_context.hh.
Referenced by BaseSimpleCPU::countInst().
| Stats::Scalar SimpleExecContext::ExecContextStats::numPredictedBranches |
Number of branches predicted as taken.
Definition at line 256 of file exec_context.hh.
Referenced by ExecContextStats(), and BaseSimpleCPU::preExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numStoreInsts |
Definition at line 234 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numVecAluAccesses |
Definition at line 194 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
| Stats::Scalar SimpleExecContext::ExecContextStats::numVecInsts |
Definition at line 209 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
|
mutable |
Definition at line 224 of file exec_context.hh.
Referenced by SimpleExecContext::readVecPredRegOperand().
| Stats::Scalar SimpleExecContext::ExecContextStats::numVecPredRegWrites |
Definition at line 225 of file exec_context.hh.
Referenced by SimpleExecContext::getWritableVecPredRegOperand(), and SimpleExecContext::setVecPredRegOperand().
|
mutable |
Definition at line 220 of file exec_context.hh.
Referenced by SimpleExecContext::readVecElemOperand(), SimpleExecContext::readVecLaneOperand(), and SimpleExecContext::readVecRegOperand().
| Stats::Scalar SimpleExecContext::ExecContextStats::numVecRegWrites |
Definition at line 221 of file exec_context.hh.
Referenced by SimpleExecContext::getWritableVecRegOperand(), SimpleExecContext::setVecElemOperand(), SimpleExecContext::setVecLaneOperandT(), and SimpleExecContext::setVecRegOperand().
| Stats::Vector SimpleExecContext::ExecContextStats::statExecutedInstType |
Definition at line 262 of file exec_context.hh.
Referenced by ExecContextStats(), and BaseSimpleCPU::postExecute().