gem5
v21.1.0.2

#include <lsq_unit.hh>
Public Member Functions  
LSQUnitStats (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  forwLoads 
Total number of loads forwaded from LSQ stores. More...  
statistics::Scalar  squashedLoads 
Total number of squashed loads. More...  
statistics::Scalar  ignoredResponses 
Total number of responses from the memory system that are ignored due to the instruction already being squashed. More...  
statistics::Scalar  memOrderViolation 
Tota number of memory ordering violations. More...  
statistics::Scalar  squashedStores 
Total number of squashed stores. More...  
statistics::Scalar  rescheduledLoads 
Number of loads that were rescheduled. More...  
statistics::Scalar  blockedByCache 
Number of times the LSQ is blocked due to the cache. More...  
statistics::Distribution  loadToUse 
Distribution of cycle latency between the first time a load is issued and its completion. More...  
Definition at line 552 of file lsq_unit.hh.
gem5::o3::LSQUnit::LSQUnitStats::LSQUnitStats  (  statistics::Group *  parent  ) 
Definition at line 265 of file lsq_unit.cc.
References gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), gem5::statistics::Distribution::init(), loadToUse, and gem5::statistics::nozero.
statistics::Scalar gem5::o3::LSQUnit::LSQUnitStats::blockedByCache 
Number of times the LSQ is blocked due to the cache.
Definition at line 576 of file lsq_unit.hh.
Referenced by gem5::o3::LSQUnit::trySendPacket().
statistics::Scalar gem5::o3::LSQUnit::LSQUnitStats::forwLoads 
Total number of loads forwaded from LSQ stores.
Definition at line 557 of file lsq_unit.hh.
Referenced by gem5::o3::LSQUnit::read().
statistics::Scalar gem5::o3::LSQUnit::LSQUnitStats::ignoredResponses 
Total number of responses from the memory system that are ignored due to the instruction already being squashed.
Definition at line 564 of file lsq_unit.hh.
Referenced by gem5::o3::LSQUnit::writeback().
statistics::Distribution gem5::o3::LSQUnit::LSQUnitStats::loadToUse 
Distribution of cycle latency between the first time a load is issued and its completion.
Definition at line 580 of file lsq_unit.hh.
Referenced by gem5::o3::LSQUnit::commitLoad(), and LSQUnitStats().
statistics::Scalar gem5::o3::LSQUnit::LSQUnitStats::memOrderViolation 
Tota number of memory ordering violations.
Definition at line 567 of file lsq_unit.hh.
Referenced by gem5::o3::LSQUnit::checkViolations().
statistics::Scalar gem5::o3::LSQUnit::LSQUnitStats::rescheduledLoads 
Number of loads that were rescheduled.
Definition at line 573 of file lsq_unit.hh.
Referenced by gem5::o3::LSQUnit::read().
statistics::Scalar gem5::o3::LSQUnit::LSQUnitStats::squashedLoads 
Total number of squashed loads.
Definition at line 560 of file lsq_unit.hh.
Referenced by gem5::o3::LSQUnit::squash().
statistics::Scalar gem5::o3::LSQUnit::LSQUnitStats::squashedStores 
Total number of squashed stores.
Definition at line 570 of file lsq_unit.hh.
Referenced by gem5::o3::LSQUnit::squash().