|
gem5 [DEVELOP-FOR-25.1]
|
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::Vector | status |
| Stat for total number of cycles spent in each decode state. | |
| 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. | |
Static Public Attributes | |
| static std::string | statusStrings [ThreadStatusMax] |
| static std::string | statusDefinitions [ThreadStatusMax] |
| gem5::o3::Decode::DecodeStats::DecodeStats | ( | CPU * | cpu | ) |
Definition at line 158 of file decode.cc.
References ADD_STAT, branchMispred, branchResolved, controlMispred, gem5::o3::Decode::cpu, decodedInsts, gem5::statistics::Group::Group(), gem5::ArmISA::i, gem5::statistics::nozero, gem5::statistics::pdf, squashedInsts, status, statusDefinitions, statusStrings, and gem5::o3::Decode::ThreadStatusMax.
| 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 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 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 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 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 DecodeStats().
| statistics::Vector gem5::o3::Decode::DecodeStats::status |
Stat for total number of cycles spent in each decode state.
Definition at line 310 of file decode.hh.
Referenced by DecodeStats().
|
static |
Definition at line 305 of file decode.hh.
Referenced by DecodeStats().
|
static |
Definition at line 304 of file decode.hh.
Referenced by DecodeStats().