gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
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. 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 icacheStallCycles
 Stat for total number of cycles stalled due to an icache miss. More...
 
statistics::Scalar insts
 Stat for total number of fetched instructions. More...
 
statistics::Scalar branches
 Total number of fetched branches. More...
 
statistics::Scalar predictedBranches
 Stat for total number of predicted branches. More...
 
statistics::Scalar cycles
 Stat for total number of cycles spent fetching. More...
 
statistics::Scalar squashCycles
 Stat for total number of cycles spent squashing. More...
 
statistics::Scalar tlbCycles
 Stat for total number of cycles spent waiting for translation. More...
 
statistics::Scalar idleCycles
 Stat for total number of cycles spent blocked due to other stages in the pipeline. More...
 
statistics::Scalar blockedCycles
 Total number of cycles spent blocked. More...
 
statistics::Scalar miscStallCycles
 Total number of cycles spent in any other state. More...
 
statistics::Scalar pendingDrainCycles
 Total number of cycles spent in waiting for drains. More...
 
statistics::Scalar noActiveThreadStallCycles
 Total number of stall cycles caused by no active threads to run. More...
 
statistics::Scalar pendingTrapStallCycles
 Total number of stall cycles caused by pending traps. More...
 
statistics::Scalar pendingQuiesceStallCycles
 Total number of stall cycles caused by pending quiesce instructions. More...
 
statistics::Scalar icacheWaitRetryStallCycles
 Total number of stall cycles caused by I-cache wait retrys. More...
 
statistics::Scalar cacheLines
 Stat for total number of fetched cache lines. More...
 
statistics::Scalar icacheSquashes
 Total number of outstanding icache accesses that were dropped due to a squash. More...
 
statistics::Scalar tlbSquashes
 Total number of outstanding tlb accesses that were dropped due to a squash. More...
 
statistics::Distribution nisnDist
 Distribution of number of instructions fetched each cycle. More...
 
statistics::Formula idleRate
 Rate of how often fetch was idle. More...
 
statistics::Formula branchRate
 Number of branch fetches per cycle. More...
 
statistics::Formula rate
 Number of instruction fetched per cycle. More...
 

Detailed Description

Definition at line 532 of file fetch.hh.

Constructor & Destructor Documentation

◆ FetchStatGroup()

gem5::o3::Fetch::FetchStatGroup::FetchStatGroup ( CPU cpu,
Fetch fetch 
)

Member Data Documentation

◆ blockedCycles

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

Total number of cycles spent blocked.

Definition at line 557 of file fetch.hh.

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

◆ branches

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::branches

Total number of fetched branches.

Definition at line 542 of file fetch.hh.

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

◆ branchRate

statistics::Formula gem5::o3::Fetch::FetchStatGroup::branchRate

Number of branch fetches per cycle.

Definition at line 586 of file fetch.hh.

Referenced by FetchStatGroup().

◆ cacheLines

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

Stat for total number of fetched cache lines.

Definition at line 572 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 546 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 576 of file fetch.hh.

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

◆ icacheStallCycles

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::icacheStallCycles

Stat for total number of cycles stalled due to an icache miss.

Definition at line 538 of file fetch.hh.

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

◆ icacheWaitRetryStallCycles

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

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

Definition at line 570 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 555 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 584 of file fetch.hh.

Referenced by FetchStatGroup().

◆ insts

statistics::Scalar gem5::o3::Fetch::FetchStatGroup::insts

Stat for total number of fetched instructions.

Definition at line 540 of file fetch.hh.

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

◆ miscStallCycles

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

Total number of cycles spent in any other state.

Definition at line 559 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 582 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 563 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 561 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 568 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 565 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 544 of file fetch.hh.

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

◆ rate

statistics::Formula gem5::o3::Fetch::FetchStatGroup::rate

Number of instruction fetched per cycle.

Definition at line 588 of file fetch.hh.

Referenced by FetchStatGroup().

◆ squashCycles

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

Stat for total number of cycles spent squashing.

Definition at line 548 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 550 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 580 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 Sep 21 2021 12:31:43 for gem5 by doxygen 1.8.17