gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::prefetch::Base::StatGroup Struct Reference

#include <base.hh>

Inheritance diagram for gem5::prefetch::Base::StatGroup:
gem5::statistics::Group

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 InforesolveStat (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
 
Groupoperator= (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).
 

Detailed Description

Definition at line 340 of file base.hh.

Constructor & Destructor Documentation

◆ StatGroup()

Member Data Documentation

◆ accuracy

statistics::Formula gem5::prefetch::Base::StatGroup::accuracy

Definition at line 353 of file base.hh.

Referenced by StatGroup().

◆ coverage

statistics::Formula gem5::prefetch::Base::StatGroup::coverage

Definition at line 354 of file base.hh.

Referenced by StatGroup().

◆ demandMshrMisses

statistics::Scalar gem5::prefetch::Base::StatGroup::demandMshrMisses

Definition at line 343 of file base.hh.

Referenced by gem5::prefetch::Base::incrDemandMhsrMisses(), and StatGroup().

◆ pfHitInCache

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().

◆ pfHitInMSHR

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().

◆ pfHitInWB

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().

◆ pfIssued

statistics::Scalar gem5::prefetch::Base::StatGroup::pfIssued

◆ pfLate

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().

◆ pfUnused

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().

◆ pfUseful

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().

◆ pfUsefulButMiss

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().


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

Generated on Tue Jun 18 2024 16:24:21 for gem5 by doxygen 1.11.0