gem5
v21.0.0.0
|
Classes | |
struct | ExecutedInstStats |
Public Member Functions | |
IEWStats (O3CPU *cpu) | |
![]() | |
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 |
Public Attributes | |
Stats::Scalar | idleCycles |
Stat for total number of idle cycles. More... | |
Stats::Scalar | squashCycles |
Stat for total number of squashing cycles. More... | |
Stats::Scalar | blockCycles |
Stat for total number of blocking cycles. More... | |
Stats::Scalar | unblockCycles |
Stat for total number of unblocking cycles. More... | |
Stats::Scalar | dispatchedInsts |
Stat for total number of instructions dispatched. More... | |
Stats::Scalar | dispSquashedInsts |
Stat for total number of squashed instructions dispatch skips. More... | |
Stats::Scalar | dispLoadInsts |
Stat for total number of dispatched load instructions. More... | |
Stats::Scalar | dispStoreInsts |
Stat for total number of dispatched store instructions. More... | |
Stats::Scalar | dispNonSpecInsts |
Stat for total number of dispatched non speculative instructions. More... | |
Stats::Scalar | iqFullEvents |
Stat for number of times the IQ becomes full. More... | |
Stats::Scalar | lsqFullEvents |
Stat for number of times the LSQ becomes full. More... | |
Stats::Scalar | memOrderViolationEvents |
Stat for total number of memory ordering violation events. More... | |
Stats::Scalar | predictedTakenIncorrect |
Stat for total number of incorrect predicted taken branches. More... | |
Stats::Scalar | predictedNotTakenIncorrect |
Stat for total number of incorrect predicted not taken branches. More... | |
Stats::Formula | branchMispredicts |
Stat for total number of mispredicted branches detected at execute. More... | |
DefaultIEW::IEWStats::ExecutedInstStats | executedInstStats |
Stats::Vector | instsToCommit |
Number of instructions sent to commit. More... | |
Stats::Vector | writebackCount |
Number of instructions that writeback. More... | |
Stats::Vector | producerInst |
Number of instructions that wake consumers. More... | |
Stats::Vector | consumerInst |
Number of instructions that wake up from producers. More... | |
Stats::Formula | wbRate |
Number of instructions per cycle written back. More... | |
Stats::Formula | wbFanout |
Average number of woken instructions per writeback. More... | |
DefaultIEW< Impl >::IEWStats::IEWStats | ( | O3CPU * | cpu | ) |
Definition at line 143 of file iew_impl.hh.
References DefaultIEW< Impl >::IEWStats::consumerInst, DefaultIEW< Impl >::cpu, Stats::DataWrap< Derived, InfoProxyType >::flags(), Stats::VectorBase< Derived, Stor >::init(), DefaultIEW< Impl >::IEWStats::instsToCommit, DefaultIEW< Impl >::IEWStats::producerInst, Stats::total, DefaultIEW< Impl >::IEWStats::wbFanout, DefaultIEW< Impl >::IEWStats::wbRate, and DefaultIEW< Impl >::IEWStats::writebackCount.
Stats::Scalar DefaultIEW< Impl >::IEWStats::blockCycles |
Stat for total number of blocking cycles.
Definition at line 436 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatch().
Stats::Formula DefaultIEW< Impl >::IEWStats::branchMispredicts |
Stats::Vector DefaultIEW< Impl >::IEWStats::consumerInst |
Number of instructions that wake up from producers.
Definition at line 495 of file iew.hh.
Referenced by DefaultIEW< Impl >::IEWStats::IEWStats(), and DefaultIEW< Impl >::writebackInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispatchedInsts |
Stat for total number of instructions dispatched.
Definition at line 440 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatchInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispLoadInsts |
Stat for total number of dispatched load instructions.
Definition at line 444 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatchInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispNonSpecInsts |
Stat for total number of dispatched non speculative instructions.
Definition at line 448 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatchInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispSquashedInsts |
Stat for total number of squashed instructions dispatch skips.
Definition at line 442 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatchInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispStoreInsts |
Stat for total number of dispatched store instructions.
Definition at line 446 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatchInsts().
DefaultIEW::IEWStats::ExecutedInstStats DefaultIEW< Impl >::IEWStats::executedInstStats |
Stats::Scalar DefaultIEW< Impl >::IEWStats::idleCycles |
Stats::Vector DefaultIEW< Impl >::IEWStats::instsToCommit |
Number of instructions sent to commit.
Definition at line 489 of file iew.hh.
Referenced by DefaultIEW< Impl >::IEWStats::IEWStats(), and DefaultIEW< Impl >::writebackInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::iqFullEvents |
Stat for number of times the IQ becomes full.
Definition at line 450 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatchInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::lsqFullEvents |
Stat for number of times the LSQ becomes full.
Definition at line 452 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatchInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::memOrderViolationEvents |
Stat for total number of memory ordering violation events.
Definition at line 454 of file iew.hh.
Referenced by DefaultIEW< Impl >::executeInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::predictedNotTakenIncorrect |
Stat for total number of incorrect predicted not taken branches.
Definition at line 458 of file iew.hh.
Referenced by DefaultIEW< Impl >::checkMisprediction(), and DefaultIEW< Impl >::executeInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::predictedTakenIncorrect |
Stat for total number of incorrect predicted taken branches.
Definition at line 456 of file iew.hh.
Referenced by DefaultIEW< Impl >::checkMisprediction(), and DefaultIEW< Impl >::executeInsts().
Stats::Vector DefaultIEW< Impl >::IEWStats::producerInst |
Number of instructions that wake consumers.
Definition at line 493 of file iew.hh.
Referenced by DefaultIEW< Impl >::IEWStats::IEWStats(), and DefaultIEW< Impl >::writebackInsts().
Stats::Scalar DefaultIEW< Impl >::IEWStats::squashCycles |
Stat for total number of squashing cycles.
Definition at line 434 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatch().
Stats::Scalar DefaultIEW< Impl >::IEWStats::unblockCycles |
Stat for total number of unblocking cycles.
Definition at line 438 of file iew.hh.
Referenced by DefaultIEW< Impl >::dispatch().
Stats::Formula DefaultIEW< Impl >::IEWStats::wbFanout |
Average number of woken instructions per writeback.
Definition at line 499 of file iew.hh.
Referenced by DefaultIEW< Impl >::IEWStats::IEWStats().
Stats::Formula DefaultIEW< Impl >::IEWStats::wbRate |
Number of instructions per cycle written back.
Definition at line 497 of file iew.hh.
Referenced by DefaultIEW< Impl >::IEWStats::IEWStats().
Stats::Vector DefaultIEW< Impl >::IEWStats::writebackCount |
Number of instructions that writeback.
Definition at line 491 of file iew.hh.
Referenced by DefaultIEW< Impl >::IEWStats::IEWStats(), and DefaultIEW< Impl >::writebackInsts().