gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
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. 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 InforesolveStat (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
 
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. More...
 
statistics::Scalar pfUseful
 The number of times a HW-prefetch 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 HW-prefetch hits in cache. More...
 
statistics::Scalar pfHitInMSHR
 The number of times a HW-prefetch hits in a MSHR. More...
 
statistics::Scalar pfHitInWB
 The number of times a HW-prefetch hits in the Write Buffer (WB). More...
 
statistics::Formula pfLate
 The number of times a HW-prefetch is late (hit in cache, MSHR, WB). More...
 

Detailed Description

Definition at line 331 of file base.hh.

Constructor & Destructor Documentation

◆ StatGroup()

gem5::prefetch::Base::StatGroup::StatGroup ( statistics::Group parent)

Member Data Documentation

◆ accuracy

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

Definition at line 344 of file base.hh.

Referenced by StatGroup().

◆ coverage

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

Definition at line 345 of file base.hh.

Referenced by StatGroup().

◆ demandMshrMisses

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

Definition at line 334 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 348 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 351 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 355 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 359 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 338 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 340 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 343 of file base.hh.

Referenced by gem5::prefetch::Base::probeNotify().


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

Generated on Tue Sep 21 2021 12:31:50 for gem5 by doxygen 1.8.17