gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::RiscvISA::TLB::TlbStats Struct Reference

#include <tlb.hh>

Inheritance diagram for gem5::RiscvISA::TLB::TlbStats:
gem5::statistics::Group

Public Member Functions

 TlbStats (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 readHits
statistics::Scalar readMisses
statistics::Scalar readAccesses
statistics::Scalar writeHits
statistics::Scalar writeMisses
statistics::Scalar writeAccesses
statistics::Formula hits
statistics::Formula misses
statistics::Formula accesses

Detailed Description

Definition at line 99 of file tlb.hh.

Constructor & Destructor Documentation

◆ TlbStats()

gem5::RiscvISA::TLB::TlbStats::TlbStats ( statistics::Group * parent)

Member Data Documentation

◆ accesses

statistics::Formula gem5::RiscvISA::TLB::TlbStats::accesses

Definition at line 112 of file tlb.hh.

◆ hits

statistics::Formula gem5::RiscvISA::TLB::TlbStats::hits

Definition at line 110 of file tlb.hh.

◆ misses

statistics::Formula gem5::RiscvISA::TLB::TlbStats::misses

Definition at line 111 of file tlb.hh.

◆ readAccesses

statistics::Scalar gem5::RiscvISA::TLB::TlbStats::readAccesses

Definition at line 105 of file tlb.hh.

◆ readHits

statistics::Scalar gem5::RiscvISA::TLB::TlbStats::readHits

Definition at line 103 of file tlb.hh.

◆ readMisses

statistics::Scalar gem5::RiscvISA::TLB::TlbStats::readMisses

Definition at line 104 of file tlb.hh.

◆ writeAccesses

statistics::Scalar gem5::RiscvISA::TLB::TlbStats::writeAccesses

Definition at line 108 of file tlb.hh.

◆ writeHits

statistics::Scalar gem5::RiscvISA::TLB::TlbStats::writeHits

Definition at line 106 of file tlb.hh.

◆ writeMisses

statistics::Scalar gem5::RiscvISA::TLB::TlbStats::writeMisses

Definition at line 107 of file tlb.hh.


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

Generated on Sat Oct 18 2025 08:07:02 for gem5 by doxygen 1.14.0