gem5
v22.1.0.0

#include <base.hh>
Public Member Functions  
StatGroup (statistics::Group *parent)  
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  demandMshrMisses 
statistics::Scalar  pfIssued 
statistics::Scalar  pfUnused 
The number of times a HWprefetched block is evicted w/o reference. More...  
statistics::Scalar  pfUseful 
The number of times a HWprefetch is useful. More...  
statistics::Scalar  pfUsefulButMiss 
The number of times there is a hit on prefetch but cache block is not in an usable state. More...  
statistics::Formula  accuracy 
statistics::Formula  coverage 
statistics::Scalar  pfHitInCache 
The number of times a HWprefetch hits in cache. More...  
statistics::Scalar  pfHitInMSHR 
The number of times a HWprefetch hits in a MSHR. More...  
statistics::Scalar  pfHitInWB 
The number of times a HWprefetch hits in the Write Buffer (WB). More...  
statistics::Formula  pfLate 
The number of times a HWprefetch is late (hit in cache, MSHR, WB). More...  
gem5::prefetch::Base::StatGroup::StatGroup  (  statistics::Group *  parent  ) 
Definition at line 121 of file base.cc.
References accuracy, coverage, demandMshrMisses, gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), gem5::statistics::nozero, pfHitInCache, pfHitInMSHR, pfHitInWB, pfIssued, pfLate, pfUnused, pfUseful, and gem5::statistics::total.
statistics::Formula gem5::prefetch::Base::StatGroup::accuracy 
Definition at line 344 of file base.hh.
Referenced by StatGroup().
statistics::Formula gem5::prefetch::Base::StatGroup::coverage 
Definition at line 345 of file base.hh.
Referenced by StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::demandMshrMisses 
Definition at line 334 of file base.hh.
Referenced by gem5::prefetch::Base::incrDemandMhsrMisses(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfHitInCache 
The number of times a HWprefetch hits in cache.
Definition at line 348 of file base.hh.
Referenced by gem5::prefetch::Base::pfHitInCache(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfHitInMSHR 
The number of times a HWprefetch hits in a MSHR.
Definition at line 351 of file base.hh.
Referenced by gem5::prefetch::Base::pfHitInMSHR(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfHitInWB 
The number of times a HWprefetch hits in the Write Buffer (WB).
Definition at line 355 of file base.hh.
Referenced by gem5::prefetch::Base::pfHitInWB(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfIssued 
Definition at line 335 of file base.hh.
Referenced by gem5::prefetch::Multi::getPacket(), gem5::prefetch::Queued::getPacket(), and StatGroup().
statistics::Formula gem5::prefetch::Base::StatGroup::pfLate 
The number of times a HWprefetch is late (hit in cache, MSHR, WB).
Definition at line 359 of file base.hh.
Referenced by StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfUnused 
The number of times a HWprefetched block is evicted w/o reference.
Definition at line 338 of file base.hh.
Referenced by gem5::prefetch::Base::prefetchUnused(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfUseful 
The number of times a HWprefetch is useful.
Definition at line 340 of file base.hh.
Referenced by gem5::prefetch::Base::probeNotify(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfUsefulButMiss 
The number of times there is a hit on prefetch but cache block is not in an usable state.
Definition at line 343 of file base.hh.
Referenced by gem5::prefetch::Base::probeNotify().