gem5
v20.1.0.0
|
Public Member Functions | |
DecodeStats (O3CPU *cpu) | |
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... | |
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 | blockedCycles |
Stat for total number of blocked cycles. More... | |
Stats::Scalar | runCycles |
Stat for total number of normal running cycles. More... | |
Stats::Scalar | unblockCycles |
Stat for total number of unblocking cycles. More... | |
Stats::Scalar | squashCycles |
Stat for total number of squashing cycles. More... | |
Stats::Scalar | branchResolved |
Stat for number of times a branch is resolved at decode. More... | |
Stats::Scalar | branchMispred |
Stat for number of times a branch mispredict is detected. More... | |
Stats::Scalar | controlMispred |
Stat for number of times decode detected a non-control instruction incorrectly predicted as a branch. More... | |
Stats::Scalar | decodedInsts |
Stat for total number of decoded instructions. More... | |
Stats::Scalar | squashedInsts |
Stat for total number of squashed instructions. More... | |
DefaultDecode< Impl >::DecodeStats::DecodeStats | ( | O3CPU * | cpu | ) |
Definition at line 123 of file decode_impl.hh.
References DefaultDecode< Impl >::DecodeStats::blockedCycles, DefaultDecode< Impl >::DecodeStats::branchMispred, DefaultDecode< Impl >::DecodeStats::branchResolved, DefaultDecode< Impl >::DecodeStats::controlMispred, DefaultDecode< Impl >::DecodeStats::decodedInsts, DefaultDecode< Impl >::DecodeStats::idleCycles, Stats::DataWrap< Derived, InfoProxyType >::prereq(), DefaultDecode< Impl >::DecodeStats::runCycles, DefaultDecode< Impl >::DecodeStats::squashCycles, DefaultDecode< Impl >::DecodeStats::squashedInsts, and DefaultDecode< Impl >::DecodeStats::unblockCycles.
Stats::Scalar DefaultDecode< Impl >::DecodeStats::blockedCycles |
Stat for total number of blocked cycles.
Definition at line 301 of file decode.hh.
Referenced by DefaultDecode< Impl >::decode(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::branchMispred |
Stat for number of times a branch mispredict is detected.
Definition at line 311 of file decode.hh.
Referenced by DefaultDecode< Impl >::decodeInsts(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::branchResolved |
Stat for number of times a branch is resolved at decode.
Definition at line 309 of file decode.hh.
Referenced by DefaultDecode< Impl >::decodeInsts(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::controlMispred |
Stat for number of times decode detected a non-control instruction incorrectly predicted as a branch.
Definition at line 315 of file decode.hh.
Referenced by DefaultDecode< Impl >::decodeInsts(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::decodedInsts |
Stat for total number of decoded instructions.
Definition at line 317 of file decode.hh.
Referenced by DefaultDecode< Impl >::decodeInsts(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::idleCycles |
Stat for total number of idle cycles.
Definition at line 299 of file decode.hh.
Referenced by DefaultDecode< Impl >::decodeInsts(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::runCycles |
Stat for total number of normal running cycles.
Definition at line 303 of file decode.hh.
Referenced by DefaultDecode< Impl >::decodeInsts(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::squashCycles |
Stat for total number of squashing cycles.
Definition at line 307 of file decode.hh.
Referenced by DefaultDecode< Impl >::decode(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::squashedInsts |
Stat for total number of squashed instructions.
Definition at line 319 of file decode.hh.
Referenced by DefaultDecode< Impl >::decodeInsts(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().
Stats::Scalar DefaultDecode< Impl >::DecodeStats::unblockCycles |
Stat for total number of unblocking cycles.
Definition at line 305 of file decode.hh.
Referenced by DefaultDecode< Impl >::decodeInsts(), and DefaultDecode< Impl >::DecodeStats::DecodeStats().