gem5  v21.0.1.0
Public Member Functions | Public Attributes | List of all members
CacheMemory::CacheMemoryStats Struct Reference
Inheritance diagram for CacheMemory::CacheMemoryStats:
Stats::Group

Public Member Functions

 CacheMemoryStats (Stats::Group *parent)
 
- Public Member Functions inherited from Stats::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 (Stats::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

Stats::Scalar numDataArrayReads
 
Stats::Scalar numDataArrayWrites
 
Stats::Scalar numTagArrayReads
 
Stats::Scalar numTagArrayWrites
 
Stats::Scalar numTagArrayStalls
 
Stats::Scalar numDataArrayStalls
 
Stats::Histogram htmTransCommitReadSet
 
Stats::Histogram htmTransCommitWriteSet
 
Stats::Histogram htmTransAbortReadSet
 
Stats::Histogram htmTransAbortWriteSet
 
Stats::Scalar m_demand_hits
 
Stats::Scalar m_demand_misses
 
Stats::Formula m_demand_accesses
 
Stats::Scalar m_prefetch_hits
 
Stats::Scalar m_prefetch_misses
 
Stats::Formula m_prefetch_accesses
 
Stats::Vector m_accessModeType
 

Detailed Description

Definition at line 209 of file CacheMemory.hh.

Constructor & Destructor Documentation

◆ CacheMemoryStats()

CacheMemory::CacheMemoryStats::CacheMemoryStats ( Stats::Group parent)

Member Data Documentation

◆ htmTransAbortReadSet

Stats::Histogram CacheMemory::CacheMemoryStats::htmTransAbortReadSet

Definition at line 224 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::htmAbortTransaction().

◆ htmTransAbortWriteSet

Stats::Histogram CacheMemory::CacheMemoryStats::htmTransAbortWriteSet

Definition at line 225 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::htmAbortTransaction().

◆ htmTransCommitReadSet

Stats::Histogram CacheMemory::CacheMemoryStats::htmTransCommitReadSet

Definition at line 222 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::htmCommitTransaction().

◆ htmTransCommitWriteSet

Stats::Histogram CacheMemory::CacheMemoryStats::htmTransCommitWriteSet

Definition at line 223 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::htmCommitTransaction().

◆ m_accessModeType

Stats::Vector CacheMemory::CacheMemoryStats::m_accessModeType

Definition at line 235 of file CacheMemory.hh.

Referenced by CacheMemoryStats().

◆ m_demand_accesses

Stats::Formula CacheMemory::CacheMemoryStats::m_demand_accesses

Definition at line 229 of file CacheMemory.hh.

◆ m_demand_hits

Stats::Scalar CacheMemory::CacheMemoryStats::m_demand_hits

Definition at line 227 of file CacheMemory.hh.

Referenced by CacheMemory::profileDemandHit().

◆ m_demand_misses

Stats::Scalar CacheMemory::CacheMemoryStats::m_demand_misses

Definition at line 228 of file CacheMemory.hh.

Referenced by CacheMemory::profileDemandMiss().

◆ m_prefetch_accesses

Stats::Formula CacheMemory::CacheMemoryStats::m_prefetch_accesses

Definition at line 233 of file CacheMemory.hh.

Referenced by CacheMemoryStats().

◆ m_prefetch_hits

Stats::Scalar CacheMemory::CacheMemoryStats::m_prefetch_hits

Definition at line 231 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::profilePrefetchHit().

◆ m_prefetch_misses

Stats::Scalar CacheMemory::CacheMemoryStats::m_prefetch_misses

Definition at line 232 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::profilePrefetchMiss().

◆ numDataArrayReads

Stats::Scalar CacheMemory::CacheMemoryStats::numDataArrayReads

Definition at line 213 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::recordRequestType().

◆ numDataArrayStalls

Stats::Scalar CacheMemory::CacheMemoryStats::numDataArrayStalls

Definition at line 219 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::checkResourceAvailable().

◆ numDataArrayWrites

Stats::Scalar CacheMemory::CacheMemoryStats::numDataArrayWrites

Definition at line 214 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::recordRequestType().

◆ numTagArrayReads

Stats::Scalar CacheMemory::CacheMemoryStats::numTagArrayReads

Definition at line 215 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::recordRequestType().

◆ numTagArrayStalls

Stats::Scalar CacheMemory::CacheMemoryStats::numTagArrayStalls

Definition at line 218 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::checkResourceAvailable().

◆ numTagArrayWrites

Stats::Scalar CacheMemory::CacheMemoryStats::numTagArrayWrites

Definition at line 216 of file CacheMemory.hh.

Referenced by CacheMemoryStats(), and CacheMemory::recordRequestType().


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

Generated on Tue Jun 22 2021 15:28:36 for gem5 by doxygen 1.8.17