gem5
v22.1.0.0
|
#include <iew.hh>
Public Member Functions | |
ExecutedInstStats (CPU *cpu) | |
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 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 |
Public Attributes | |
statistics::Scalar | numInsts |
Stat for total number of executed instructions. More... | |
statistics::Vector | numLoadInsts |
Stat for total number of executed load instructions. More... | |
statistics::Scalar | numSquashedInsts |
Stat for total number of squashed instructions skipped at execute. More... | |
statistics::Vector | numSwp |
Number of executed software prefetches. More... | |
statistics::Vector | numNop |
Number of executed nops. More... | |
statistics::Vector | numRefs |
Number of executed meomory references. More... | |
statistics::Vector | numBranches |
Number of executed branches. More... | |
statistics::Formula | numStoreInsts |
Number of executed store instructions. More... | |
statistics::Formula | numRate |
Number of instructions executed per cycle. More... | |
gem5::o3::IEW::IEWStats::ExecutedInstStats::ExecutedInstStats | ( | CPU * | cpu | ) |
Definition at line 218 of file iew.cc.
References gem5::o3::IEW::cpu, gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), gem5::statistics::VectorBase< Derived, Stor >::init(), numBranches, numLoadInsts, numNop, numRate, numRefs, numStoreInsts, numSwp, gem5::BaseCPU::numThreads, and gem5::statistics::total.
statistics::Vector gem5::o3::IEW::IEWStats::ExecutedInstStats::numBranches |
Number of executed branches.
Definition at line 472 of file iew.hh.
Referenced by ExecutedInstStats(), and gem5::o3::IEW::updateExeInstStats().
statistics::Scalar gem5::o3::IEW::IEWStats::ExecutedInstStats::numInsts |
Stat for total number of executed instructions.
Definition at line 459 of file iew.hh.
Referenced by gem5::o3::IEW::updateExeInstStats().
statistics::Vector gem5::o3::IEW::IEWStats::ExecutedInstStats::numLoadInsts |
Stat for total number of executed load instructions.
Definition at line 461 of file iew.hh.
Referenced by ExecutedInstStats(), and gem5::o3::IEW::updateExeInstStats().
statistics::Vector gem5::o3::IEW::IEWStats::ExecutedInstStats::numNop |
Number of executed nops.
Definition at line 468 of file iew.hh.
Referenced by gem5::o3::IEW::dispatchInsts(), and ExecutedInstStats().
statistics::Formula gem5::o3::IEW::IEWStats::ExecutedInstStats::numRate |
Number of instructions executed per cycle.
Definition at line 476 of file iew.hh.
Referenced by ExecutedInstStats().
statistics::Vector gem5::o3::IEW::IEWStats::ExecutedInstStats::numRefs |
Number of executed meomory references.
Definition at line 470 of file iew.hh.
Referenced by ExecutedInstStats(), and gem5::o3::IEW::updateExeInstStats().
statistics::Scalar gem5::o3::IEW::IEWStats::ExecutedInstStats::numSquashedInsts |
Stat for total number of squashed instructions skipped at execute.
Definition at line 464 of file iew.hh.
Referenced by gem5::o3::IEW::executeInsts().
statistics::Formula gem5::o3::IEW::IEWStats::ExecutedInstStats::numStoreInsts |
Number of executed store instructions.
Definition at line 474 of file iew.hh.
Referenced by ExecutedInstStats().
statistics::Vector gem5::o3::IEW::IEWStats::ExecutedInstStats::numSwp |
Number of executed software prefetches.
Definition at line 466 of file iew.hh.
Referenced by ExecutedInstStats().