gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::o3::Fetch::FetchStatGroup Struct Reference

#include <fetch.hh>

Inheritance diagram for gem5::o3::Fetch::FetchStatGroup:
gem5::statistics::Group

Public Member Functions

 FetchStatGroup (CPU *cpu, Fetch *fetch)
 
- 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 predictedBranches
 Stat for total number of predicted branches.
 
statistics::Scalar cycles
 Stat for total number of cycles spent fetching.
 
statistics::Scalar squashCycles
 Stat for total number of cycles spent squashing.
 
statistics::Scalar tlbCycles
 Stat for total number of cycles spent waiting for translation.
 
statistics::Scalar idleCycles
 Stat for total number of cycles spent blocked due to other stages in the pipeline.
 
statistics::Scalar blockedCycles
 Total number of cycles spent blocked.
 
statistics::Scalar miscStallCycles
 Total number of cycles spent in any other state.
 
statistics::Scalar pendingDrainCycles
 Total number of cycles spent in waiting for drains.
 
statistics::Scalar noActiveThreadStallCycles
 Total number of stall cycles caused by no active threads to run.
 
statistics::Scalar pendingTrapStallCycles
 Total number of stall cycles caused by pending traps.
 
statistics::Scalar pendingQuiesceStallCycles
 Total number of stall cycles caused by pending quiesce instructions.
 
statistics::Scalar icacheWaitRetryStallCycles
 Total number of stall cycles caused by I-cache wait retrys.
 
statistics::Scalar cacheLines
 Stat for total number of fetched cache lines.
 
statistics::Scalar icacheSquashes
 Total number of outstanding icache accesses that were dropped due to a squash.
 
statistics::Scalar tlbSquashes
 Total number of outstanding tlb accesses that were dropped due to a squash.
 
statistics::Distribution nisnDist
 Distribution of number of instructions fetched each cycle.
 
statistics::Formula idleRate
 Rate of how often fetch was idle.
 

Detailed Description

Definition at line 531 of file fetch.hh.

Constructor & Destructor Documentation

◆ FetchStatGroup()

Member Data Documentation

◆ blockedCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::blockedCycles

Total number of cycles spent blocked.

Definition at line 550 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().

◆ cacheLines

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::cacheLines

Stat for total number of fetched cache lines.

Definition at line 565 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::finishTranslation().

◆ cycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::cycles

Stat for total number of cycles spent fetching.

Definition at line 539 of file fetch.hh.

Referenced by gem5::o3::Fetch::fetch(), and FetchStatGroup().

◆ icacheSquashes

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::icacheSquashes

Total number of outstanding icache accesses that were dropped due to a squash.

Definition at line 569 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::processCacheCompletion().

◆ icacheWaitRetryStallCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::icacheWaitRetryStallCycles

Total number of stall cycles caused by I-cache wait retrys.

Definition at line 563 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().

◆ idleCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::idleCycles

Stat for total number of cycles spent blocked due to other stages in the pipeline.

Definition at line 548 of file fetch.hh.

Referenced by gem5::o3::Fetch::fetch(), and FetchStatGroup().

◆ idleRate

statistics::Formula gem5::o3::Fetch::FetchStatGroup::idleRate

Rate of how often fetch was idle.

Definition at line 577 of file fetch.hh.

Referenced by FetchStatGroup().

◆ miscStallCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::miscStallCycles

Total number of cycles spent in any other state.

Definition at line 552 of file fetch.hh.

Referenced by gem5::o3::Fetch::fetch(), and FetchStatGroup().

◆ nisnDist

statistics::Distribution gem5::o3::Fetch::FetchStatGroup::nisnDist

Distribution of number of instructions fetched each cycle.

Definition at line 575 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::tick().

◆ noActiveThreadStallCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::noActiveThreadStallCycles

Total number of stall cycles caused by no active threads to run.

Definition at line 556 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().

◆ pendingDrainCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingDrainCycles

Total number of cycles spent in waiting for drains.

Definition at line 554 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().

◆ pendingQuiesceStallCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingQuiesceStallCycles

Total number of stall cycles caused by pending quiesce instructions.

Definition at line 561 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().

◆ pendingTrapStallCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingTrapStallCycles

Total number of stall cycles caused by pending traps.

Definition at line 558 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().

◆ predictedBranches

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::predictedBranches

Stat for total number of predicted branches.

Definition at line 537 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::lookupAndUpdateNextPC().

◆ squashCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::squashCycles

Stat for total number of cycles spent squashing.

Definition at line 541 of file fetch.hh.

Referenced by gem5::o3::Fetch::doSquash(), FetchStatGroup(), and gem5::o3::Fetch::profileStall().

◆ tlbCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::tlbCycles

Stat for total number of cycles spent waiting for translation.

Definition at line 543 of file fetch.hh.

Referenced by gem5::o3::Fetch::fetch(), FetchStatGroup(), and gem5::o3::Fetch::profileStall().

◆ tlbSquashes

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::tlbSquashes

Total number of outstanding tlb accesses that were dropped due to a squash.

Definition at line 573 of file fetch.hh.

Referenced by FetchStatGroup(), and gem5::o3::Fetch::finishTranslation().


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