gem5 v24.0.0.0
|
#include <exec_context.hh>
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. | |
virtual | ~Group () |
virtual void | regStats () |
Callback to set stat parameters. | |
virtual void | resetStats () |
Callback to reset stats. | |
virtual void | preDumpStats () |
Callback before stats are dumped. | |
void | addStat (statistics::Info *info) |
Register a stat with this group. | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. | |
void | mergeStatGroup (Group *block) |
Merge the contents (stats & children) of a block to this block. | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Attributes | |
statistics::Scalar | numMatAluAccesses |
statistics::Scalar | numCallsReturns |
statistics::Scalar | numMatInsts |
statistics::Scalar | numMatRegReads |
statistics::Scalar | numMatRegWrites |
statistics::Formula | numIdleCycles |
statistics::Formula | numBusyCycles |
statistics::Average | notIdleFraction |
statistics::Formula | idleFraction |
std::array< statistics::Scalar *, CCRegClass+1 > | numRegReads |
std::array< statistics::Scalar *, CCRegClass+1 > | numRegWrites |
statistics::Scalar | numPredictedBranches |
statistics::Scalar | numBranchMispred |
Number of misprediced branches. | |
Definition at line 83 of file exec_context.hh.
|
inline |
Definition at line 85 of file exec_context.hh.
References gem5::BaseCPU::baseStats, gem5::statistics::constant(), gem5::SimpleExecContext::cpu, idleFraction, notIdleFraction, numBranchMispred, numBusyCycles, gem5::BaseCPU::BaseCPUStats::numCycles, numIdleCycles, numPredictedBranches, and gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq().
statistics::Formula gem5::SimpleExecContext::ExecContextStats::idleFraction |
Definition at line 159 of file exec_context.hh.
Referenced by ExecContextStats().
statistics::Average gem5::SimpleExecContext::ExecContextStats::notIdleFraction |
Definition at line 158 of file exec_context.hh.
Referenced by ExecContextStats().
statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numBranchMispred |
Number of misprediced branches.
Definition at line 165 of file exec_context.hh.
Referenced by gem5::BaseSimpleCPU::advancePC(), and ExecContextStats().
statistics::Formula gem5::SimpleExecContext::ExecContextStats::numBusyCycles |
Definition at line 155 of file exec_context.hh.
Referenced by ExecContextStats().
statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numCallsReturns |
Definition at line 142 of file exec_context.hh.
Referenced by gem5::BaseSimpleCPU::postExecute().
statistics::Formula gem5::SimpleExecContext::ExecContextStats::numIdleCycles |
Definition at line 152 of file exec_context.hh.
Referenced by ExecContextStats().
statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numMatAluAccesses |
Definition at line 139 of file exec_context.hh.
Referenced by gem5::BaseSimpleCPU::postExecute().
statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numMatInsts |
Definition at line 145 of file exec_context.hh.
Referenced by gem5::BaseSimpleCPU::postExecute().
|
mutable |
Definition at line 148 of file exec_context.hh.
statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numMatRegWrites |
Definition at line 149 of file exec_context.hh.
statistics::Scalar gem5::SimpleExecContext::ExecContextStats::numPredictedBranches |
Number of branches predicted as taken
Definition at line 163 of file exec_context.hh.
Referenced by ExecContextStats(), and gem5::BaseSimpleCPU::preExecute().
std::array<statistics::Scalar *, CCRegClass + 1> gem5::SimpleExecContext::ExecContextStats::numRegReads |
Definition at line 168 of file exec_context.hh.
Referenced by gem5::SimpleExecContext::getRegOperand(), and gem5::SimpleExecContext::getRegOperand().
std::array<statistics::Scalar *, CCRegClass + 1> gem5::SimpleExecContext::ExecContextStats::numRegWrites |
Definition at line 169 of file exec_context.hh.
Referenced by gem5::SimpleExecContext::getWritableRegOperand(), gem5::SimpleExecContext::setRegOperand(), and gem5::SimpleExecContext::setRegOperand().