gem5  v22.1.0.0
Public Member Functions | Public Attributes | List of all members
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. 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 (statistics::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 InforesolveStat (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
 
Groupoperator= (const Group &)=delete
 

Public Attributes

statistics::Scalar idleCycles
 Stat for total number of idle cycles. More...
 
statistics::Scalar blockedCycles
 Stat for total number of blocked cycles. More...
 
statistics::Scalar runCycles
 Stat for total number of normal running cycles. More...
 
statistics::Scalar unblockCycles
 Stat for total number of unblocking cycles. More...
 
statistics::Scalar squashCycles
 Stat for total number of squashing cycles. More...
 
statistics::Scalar branchResolved
 Stat for number of times a branch is resolved at decode. More...
 
statistics::Scalar branchMispred
 Stat for number of times a branch mispredict is detected. More...
 
statistics::Scalar controlMispred
 Stat for number of times decode detected a non-control instruction incorrectly predicted as a branch. More...
 
statistics::Scalar decodedInsts
 Stat for total number of decoded instructions. More...
 
statistics::Scalar squashedInsts
 Stat for total number of squashed instructions. More...
 

Detailed Description

Definition at line 297 of file decode.hh.

Constructor & Destructor Documentation

◆ DecodeStats()

gem5::o3::Decode::DecodeStats::DecodeStats ( CPU cpu)

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 Wed Dec 21 2022 10:24:18 for gem5 by doxygen 1.9.1