gem5
v21.1.0.2

#include <fetch.hh>
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 Info *  resolveStat (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  
Group &  operator= (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 Icache 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...  
Definition at line 161 of file fetch.cc.
References blockedCycles, branches, branchRate, cacheLines, cycles, gem5::o3::Fetch::fetch(), gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), icacheSquashes, icacheStallCycles, icacheWaitRetryStallCycles, idleCycles, idleRate, gem5::statistics::Distribution::init(), insts, miscStallCycles, nisnDist, noActiveThreadStallCycles, gem5::statistics::pdf, pendingDrainCycles, pendingQuiesceStallCycles, pendingTrapStallCycles, predictedBranches, gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq(), rate, squashCycles, tlbCycles, tlbSquashes, and gem5::statistics::total.
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().
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().
statistics::Formula gem5::o3::Fetch::FetchStatGroup::branchRate 
Number of branch fetches per cycle.
Definition at line 586 of file fetch.hh.
Referenced by FetchStatGroup().
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().
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().
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().
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().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::icacheWaitRetryStallCycles 
Total number of stall cycles caused by Icache wait retrys.
Definition at line 570 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
statistics::Formula gem5::o3::Fetch::FetchStatGroup::rate 
Number of instruction fetched per cycle.
Definition at line 588 of file fetch.hh.
Referenced by FetchStatGroup().
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().
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().
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().