gem5  v20.1.0.0
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
SMMUv3BaseCache Class Reference

#include <smmu_v3_caches.hh>

Inheritance diagram for SMMUv3BaseCache:
ARMArchTLB ConfigCache IPACache SMMUTLB WalkCache

Public Member Functions

 SMMUv3BaseCache (const std::string &policy_name, uint32_t seed)
 
virtual ~SMMUv3BaseCache ()
 
virtual void regStats (const std::string &name)
 

Static Protected Member Functions

static int decodePolicyName (const std::string &policy_name)
 

Protected Attributes

int replacementPolicy
 
size_t nextToReplace
 
Random random
 
uint32_t useStamp
 
Stats::Formula averageLookups
 
Stats::Scalar totalLookups
 
Stats::Formula averageMisses
 
Stats::Scalar totalMisses
 
Stats::Formula averageUpdates
 
Stats::Scalar totalUpdates
 
Stats::Formula averageHitRate
 
Stats::Scalar insertions
 

Detailed Description

Definition at line 60 of file smmu_v3_caches.hh.

Constructor & Destructor Documentation

◆ SMMUv3BaseCache()

SMMUv3BaseCache::SMMUv3BaseCache ( const std::string &  policy_name,
uint32_t  seed 
)

Definition at line 61 of file smmu_v3_caches.cc.

◆ ~SMMUv3BaseCache()

virtual SMMUv3BaseCache::~SMMUv3BaseCache ( )
inlinevirtual

Definition at line 85 of file smmu_v3_caches.hh.

Member Function Documentation

◆ decodePolicyName()

int SMMUv3BaseCache::decodePolicyName ( const std::string &  policy_name)
staticprotected

◆ regStats()

void SMMUv3BaseCache::regStats ( const std::string &  name)
virtual

Member Data Documentation

◆ averageHitRate

Stats::Formula SMMUv3BaseCache::averageHitRate
protected

Definition at line 77 of file smmu_v3_caches.hh.

Referenced by regStats().

◆ averageLookups

Stats::Formula SMMUv3BaseCache::averageLookups
protected

Definition at line 68 of file smmu_v3_caches.hh.

Referenced by regStats().

◆ averageMisses

Stats::Formula SMMUv3BaseCache::averageMisses
protected

Definition at line 71 of file smmu_v3_caches.hh.

Referenced by regStats().

◆ averageUpdates

Stats::Formula SMMUv3BaseCache::averageUpdates
protected

Definition at line 74 of file smmu_v3_caches.hh.

Referenced by regStats().

◆ insertions

Stats::Scalar SMMUv3BaseCache::insertions
protected

◆ nextToReplace

size_t SMMUv3BaseCache::nextToReplace
protected

◆ random

Random SMMUv3BaseCache::random
protected

◆ replacementPolicy

int SMMUv3BaseCache::replacementPolicy
protected

◆ totalLookups

Stats::Scalar SMMUv3BaseCache::totalLookups
protected

◆ totalMisses

Stats::Scalar SMMUv3BaseCache::totalMisses
protected

◆ totalUpdates

Stats::Scalar SMMUv3BaseCache::totalUpdates
protected

◆ useStamp

uint32_t SMMUv3BaseCache::useStamp
protected

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

Generated on Wed Sep 30 2020 14:02:32 for gem5 by doxygen 1.8.17