gem5 v24.0.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. | |
virtual | ~Group () |
virtual void | regStats () |
Callback to set stat parameters. | |
virtual void | resetStats () |
Callback to reset stats. | |
virtual void | preDumpStats () |
Callback before stats are dumped. | |
void | addStat (statistics::Info *info) |
Register a stat with this group. | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. | |
void | mergeStatGroup (Group *block) |
Merge the contents (stats & children) of a block to this block. | |
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 HW-prefetched block is evicted w/o reference. | |
statistics::Scalar | pfUseful |
The number of times a HW-prefetch is useful. | |
statistics::Scalar | pfUsefulButMiss |
The number of times there is a hit on prefetch but cache block is not in an usable state. | |
statistics::Formula | accuracy |
statistics::Formula | coverage |
statistics::Scalar | pfHitInCache |
The number of times a HW-prefetch hits in cache. | |
statistics::Scalar | pfHitInMSHR |
The number of times a HW-prefetch hits in a MSHR. | |
statistics::Scalar | pfHitInWB |
The number of times a HW-prefetch hits in the Write Buffer (WB). | |
statistics::Formula | pfLate |
The number of times a HW-prefetch is late (hit in cache, MSHR, WB). | |
gem5::prefetch::Base::StatGroup::StatGroup | ( | statistics::Group * | parent | ) |
Definition at line 128 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 353 of file base.hh.
Referenced by StatGroup().
statistics::Formula gem5::prefetch::Base::StatGroup::coverage |
Definition at line 354 of file base.hh.
Referenced by StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::demandMshrMisses |
Definition at line 343 of file base.hh.
Referenced by gem5::prefetch::Base::incrDemandMhsrMisses(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfHitInCache |
The number of times a HW-prefetch hits in cache.
Definition at line 357 of file base.hh.
Referenced by gem5::prefetch::Base::pfHitInCache(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfHitInMSHR |
The number of times a HW-prefetch hits in a MSHR.
Definition at line 360 of file base.hh.
Referenced by gem5::prefetch::Base::pfHitInMSHR(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfHitInWB |
The number of times a HW-prefetch hits in the Write Buffer (WB).
Definition at line 364 of file base.hh.
Referenced by gem5::prefetch::Base::pfHitInWB(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfIssued |
Definition at line 344 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 HW-prefetch is late (hit in cache, MSHR, WB).
Definition at line 368 of file base.hh.
Referenced by StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfUnused |
The number of times a HW-prefetched block is evicted w/o reference.
Definition at line 347 of file base.hh.
Referenced by gem5::prefetch::Base::prefetchUnused(), and StatGroup().
statistics::Scalar gem5::prefetch::Base::StatGroup::pfUseful |
The number of times a HW-prefetch is useful.
Definition at line 349 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 352 of file base.hh.
Referenced by gem5::prefetch::Base::probeNotify().