gem5  v21.0.1.0
Public Member Functions | Public Attributes | List of all members
DefaultFetch< Impl >::FetchStatGroup Struct Reference

#include <fetch.hh>

Inheritance diagram for DefaultFetch< Impl >::FetchStatGroup:
Stats::Group

Public Member Functions

 FetchStatGroup (O3CPU *cpu, DefaultFetch *fetch)
 
- Public Member Functions inherited from Stats::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 (Stats::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

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

Detailed Description

template<class Impl>
struct DefaultFetch< Impl >::FetchStatGroup

Definition at line 546 of file fetch.hh.

Constructor & Destructor Documentation

◆ FetchStatGroup()

template<class Impl >
DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup ( O3CPU cpu,
DefaultFetch fetch 
)

Member Data Documentation

◆ blockedCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::blockedCycles

Total number of cycles spent blocked.

Definition at line 571 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ branches

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::branches

Total number of fetched branches.

Definition at line 556 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::lookupAndUpdateNextPC().

◆ branchRate

template<class Impl >
Stats::Formula DefaultFetch< Impl >::FetchStatGroup::branchRate

Number of branch fetches per cycle.

Definition at line 600 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup().

◆ cacheLines

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::cacheLines

Stat for total number of fetched cache lines.

Definition at line 586 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::finishTranslation().

◆ cycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::cycles

Stat for total number of cycles spent fetching.

Definition at line 560 of file fetch.hh.

Referenced by DefaultFetch< Impl >::fetch(), and DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup().

◆ icacheSquashes

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::icacheSquashes

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

Definition at line 590 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::processCacheCompletion().

◆ icacheStallCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::icacheStallCycles

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

Definition at line 552 of file fetch.hh.

Referenced by DefaultFetch< Impl >::fetch(), DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ icacheWaitRetryStallCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::icacheWaitRetryStallCycles

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

Definition at line 584 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ idleCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::idleCycles

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

Definition at line 569 of file fetch.hh.

Referenced by DefaultFetch< Impl >::fetch(), and DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup().

◆ idleRate

template<class Impl >
Stats::Formula DefaultFetch< Impl >::FetchStatGroup::idleRate

Rate of how often fetch was idle.

Definition at line 598 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup().

◆ insts

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::insts

Stat for total number of fetched instructions.

Definition at line 554 of file fetch.hh.

Referenced by DefaultFetch< Impl >::fetch(), and DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup().

◆ miscStallCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::miscStallCycles

Total number of cycles spent in any other state.

Definition at line 573 of file fetch.hh.

Referenced by DefaultFetch< Impl >::fetch(), and DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup().

◆ nisnDist

template<class Impl >
Stats::Distribution DefaultFetch< Impl >::FetchStatGroup::nisnDist

Distribution of number of instructions fetched each cycle.

Definition at line 596 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::tick().

◆ noActiveThreadStallCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::noActiveThreadStallCycles

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

Definition at line 577 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ pendingDrainCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::pendingDrainCycles

Total number of cycles spent in waiting for drains.

Definition at line 575 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ pendingQuiesceStallCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::pendingQuiesceStallCycles

Total number of stall cycles caused by pending quiesce instructions.

Definition at line 582 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ pendingTrapStallCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::pendingTrapStallCycles

Total number of stall cycles caused by pending traps.

Definition at line 579 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ predictedBranches

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::predictedBranches

Stat for total number of predicted branches.

Definition at line 558 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::lookupAndUpdateNextPC().

◆ rate

template<class Impl >
Stats::Formula DefaultFetch< Impl >::FetchStatGroup::rate

Number of instruction fetched per cycle.

Definition at line 602 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup().

◆ squashCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::squashCycles

Stat for total number of cycles spent squashing.

Definition at line 562 of file fetch.hh.

Referenced by DefaultFetch< Impl >::doSquash(), DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ tlbCycles

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::tlbCycles

Stat for total number of cycles spent waiting for translation.

Definition at line 564 of file fetch.hh.

Referenced by DefaultFetch< Impl >::fetch(), DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::profileStall().

◆ tlbSquashes

template<class Impl >
Stats::Scalar DefaultFetch< Impl >::FetchStatGroup::tlbSquashes

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

Definition at line 594 of file fetch.hh.

Referenced by DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), and DefaultFetch< Impl >::finishTranslation().


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

Generated on Tue Jun 22 2021 15:28:37 for gem5 by doxygen 1.8.17