gem5 v24.0.0.0
|
Public Member Functions | |
DecodeStats (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 | blockedCycles |
Stat for total number of blocked cycles. | |
statistics::Scalar | runCycles |
Stat for total number of normal running cycles. | |
statistics::Scalar | unblockCycles |
Stat for total number of unblocking cycles. | |
statistics::Scalar | squashCycles |
Stat for total number of squashing cycles. | |
statistics::Scalar | branchResolved |
Stat for number of times a branch is resolved at decode. | |
statistics::Scalar | branchMispred |
Stat for number of times a branch mispredict is detected. | |
statistics::Scalar | controlMispred |
Stat for number of times decode detected a non-control instruction incorrectly predicted as a branch. | |
statistics::Scalar | decodedInsts |
Stat for total number of decoded instructions. | |
statistics::Scalar | squashedInsts |
Stat for total number of squashed instructions. | |
gem5::o3::Decode::DecodeStats::DecodeStats | ( | CPU * | cpu | ) |
Definition at line 122 of file decode.cc.
References blockedCycles, branchMispred, branchResolved, controlMispred, decodedInsts, idleCycles, gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq(), runCycles, squashCycles, squashedInsts, and unblockCycles.
statistics::Scalar gem5::o3::Decode::DecodeStats::blockedCycles |
Stat for total number of blocked cycles.
Definition at line 304 of file decode.hh.
Referenced by gem5::o3::Decode::decode(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::branchMispred |
Stat for number of times a branch mispredict is detected.
Definition at line 314 of file decode.hh.
Referenced by gem5::o3::Decode::decodeInsts(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::branchResolved |
Stat for number of times a branch is resolved at decode.
Definition at line 312 of file decode.hh.
Referenced by gem5::o3::Decode::decodeInsts(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::controlMispred |
Stat for number of times decode detected a non-control instruction incorrectly predicted as a branch.
Definition at line 318 of file decode.hh.
Referenced by gem5::o3::Decode::decodeInsts(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::decodedInsts |
Stat for total number of decoded instructions.
Definition at line 320 of file decode.hh.
Referenced by gem5::o3::Decode::decodeInsts(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::idleCycles |
Stat for total number of idle cycles.
Definition at line 302 of file decode.hh.
Referenced by gem5::o3::Decode::decodeInsts(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::runCycles |
Stat for total number of normal running cycles.
Definition at line 306 of file decode.hh.
Referenced by gem5::o3::Decode::decodeInsts(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::squashCycles |
Stat for total number of squashing cycles.
Definition at line 310 of file decode.hh.
Referenced by gem5::o3::Decode::decode(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::squashedInsts |
Stat for total number of squashed instructions.
Definition at line 322 of file decode.hh.
Referenced by gem5::o3::Decode::decodeInsts(), and DecodeStats().
statistics::Scalar gem5::o3::Decode::DecodeStats::unblockCycles |
Stat for total number of unblocking cycles.
Definition at line 308 of file decode.hh.
Referenced by gem5::o3::Decode::decodeInsts(), and DecodeStats().