gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::o3::Decode::DecodeStats Struct Reference
Inheritance diagram for gem5::o3::Decode::DecodeStats:
gem5::statistics::Group

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 InforesolveStat (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
 
Groupoperator= (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.
 

Detailed Description

Definition at line 297 of file decode.hh.

Constructor & Destructor Documentation

◆ DecodeStats()

Member Data Documentation

◆ blockedCycles

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().

◆ branchMispred

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().

◆ branchResolved

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().

◆ controlMispred

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().

◆ decodedInsts

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().

◆ idleCycles

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().

◆ runCycles

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().

◆ squashCycles

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().

◆ squashedInsts

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().

◆ unblockCycles

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().


The documentation for this struct was generated from the following files:

Generated on Tue Jun 18 2024 16:24:20 for gem5 by doxygen 1.11.0