gem5 v24.0.0.0
|
Classes | |
struct | ExecutedInstStats |
Public Member Functions | |
IEWStats (CPU *cpu) | |
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 | idleCycles |
Stat for total number of idle cycles. | |
statistics::Scalar | squashCycles |
Stat for total number of squashing cycles. | |
statistics::Scalar | blockCycles |
Stat for total number of blocking cycles. | |
statistics::Scalar | unblockCycles |
Stat for total number of unblocking cycles. | |
statistics::Scalar | dispatchedInsts |
Stat for total number of instructions dispatched. | |
statistics::Scalar | dispSquashedInsts |
Stat for total number of squashed instructions dispatch skips. | |
statistics::Scalar | dispLoadInsts |
Stat for total number of dispatched load instructions. | |
statistics::Scalar | dispStoreInsts |
Stat for total number of dispatched store instructions. | |
statistics::Scalar | dispNonSpecInsts |
Stat for total number of dispatched non speculative insts. | |
statistics::Scalar | iqFullEvents |
Stat for number of times the IQ becomes full. | |
statistics::Scalar | lsqFullEvents |
Stat for number of times the LSQ becomes full. | |
statistics::Scalar | memOrderViolationEvents |
Stat for total number of memory ordering violation events. | |
statistics::Scalar | predictedTakenIncorrect |
Stat for total number of incorrect predicted taken branches. | |
statistics::Scalar | predictedNotTakenIncorrect |
Stat for total number of incorrect predicted not taken branches. | |
statistics::Formula | branchMispredicts |
Stat for total number of mispredicted branches detected at execute. | |
gem5::o3::IEW::IEWStats::ExecutedInstStats | executedInstStats |
statistics::Vector | instsToCommit |
Number of instructions sent to commit. | |
statistics::Vector | writebackCount |
Number of instructions that writeback. | |
statistics::Vector | producerInst |
Number of instructions that wake consumers. | |
statistics::Vector | consumerInst |
Number of instructions that wake up from producers. | |
statistics::Formula | wbRate |
Number of instructions per cycle written back. | |
statistics::Formula | wbFanout |
Average number of woken instructions per writeback. | |
gem5::o3::IEW::IEWStats::IEWStats | ( | CPU * | cpu | ) |
Definition at line 144 of file iew.cc.
References gem5::BaseCPU::baseStats, consumerInst, gem5::o3::IEW::cpu, gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), gem5::statistics::VectorBase< Derived, Stor >::init(), instsToCommit, gem5::BaseCPU::BaseCPUStats::numCycles, gem5::BaseCPU::numThreads, producerInst, gem5::statistics::total, wbFanout, wbRate, and writebackCount.
statistics::Scalar gem5::o3::IEW::IEWStats::blockCycles |
Stat for total number of blocking cycles.
Definition at line 427 of file iew.hh.
Referenced by gem5::o3::IEW::dispatch().
statistics::Formula gem5::o3::IEW::IEWStats::branchMispredicts |
statistics::Vector gem5::o3::IEW::IEWStats::consumerInst |
Number of instructions that wake up from producers.
Definition at line 472 of file iew.hh.
Referenced by IEWStats(), and gem5::o3::IEW::writebackInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::dispatchedInsts |
Stat for total number of instructions dispatched.
Definition at line 431 of file iew.hh.
Referenced by gem5::o3::IEW::dispatchInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::dispLoadInsts |
Stat for total number of dispatched load instructions.
Definition at line 435 of file iew.hh.
Referenced by gem5::o3::IEW::dispatchInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::dispNonSpecInsts |
Stat for total number of dispatched non speculative insts.
Definition at line 439 of file iew.hh.
Referenced by gem5::o3::IEW::dispatchInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::dispSquashedInsts |
Stat for total number of squashed instructions dispatch skips.
Definition at line 433 of file iew.hh.
Referenced by gem5::o3::IEW::dispatchInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::dispStoreInsts |
Stat for total number of dispatched store instructions.
Definition at line 437 of file iew.hh.
Referenced by gem5::o3::IEW::dispatchInsts().
gem5::o3::IEW::IEWStats::ExecutedInstStats gem5::o3::IEW::IEWStats::executedInstStats |
Referenced by gem5::o3::IEW::executeInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::idleCycles |
statistics::Vector gem5::o3::IEW::IEWStats::instsToCommit |
Number of instructions sent to commit.
Definition at line 466 of file iew.hh.
Referenced by IEWStats(), and gem5::o3::IEW::writebackInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::iqFullEvents |
Stat for number of times the IQ becomes full.
Definition at line 441 of file iew.hh.
Referenced by gem5::o3::IEW::dispatchInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::lsqFullEvents |
Stat for number of times the LSQ becomes full.
Definition at line 443 of file iew.hh.
Referenced by gem5::o3::IEW::dispatchInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::memOrderViolationEvents |
Stat for total number of memory ordering violation events.
Definition at line 445 of file iew.hh.
Referenced by gem5::o3::IEW::executeInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::predictedNotTakenIncorrect |
Stat for total number of incorrect predicted not taken branches.
Definition at line 449 of file iew.hh.
Referenced by gem5::o3::IEW::checkMisprediction(), and gem5::o3::IEW::executeInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::predictedTakenIncorrect |
Stat for total number of incorrect predicted taken branches.
Definition at line 447 of file iew.hh.
Referenced by gem5::o3::IEW::checkMisprediction(), and gem5::o3::IEW::executeInsts().
statistics::Vector gem5::o3::IEW::IEWStats::producerInst |
Number of instructions that wake consumers.
Definition at line 470 of file iew.hh.
Referenced by IEWStats(), and gem5::o3::IEW::writebackInsts().
statistics::Scalar gem5::o3::IEW::IEWStats::squashCycles |
Stat for total number of squashing cycles.
Definition at line 425 of file iew.hh.
Referenced by gem5::o3::IEW::dispatch().
statistics::Scalar gem5::o3::IEW::IEWStats::unblockCycles |
Stat for total number of unblocking cycles.
Definition at line 429 of file iew.hh.
Referenced by gem5::o3::IEW::dispatch().
statistics::Formula gem5::o3::IEW::IEWStats::wbFanout |
Average number of woken instructions per writeback.
Definition at line 476 of file iew.hh.
Referenced by IEWStats().
statistics::Formula gem5::o3::IEW::IEWStats::wbRate |
Number of instructions per cycle written back.
Definition at line 474 of file iew.hh.
Referenced by IEWStats().
statistics::Vector gem5::o3::IEW::IEWStats::writebackCount |
Number of instructions that writeback.
Definition at line 468 of file iew.hh.
Referenced by IEWStats(), and gem5::o3::IEW::writebackInsts().