gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::BaseCache::CacheAccessorImpl Struct Reference

#include <base.hh>

Inheritance diagram for gem5::BaseCache::CacheAccessorImpl:
gem5::CacheAccessor

Public Member Functions

 CacheAccessorImpl (BaseCache &_cache)
 
bool inCache (Addr addr, bool is_secure) const override
 Determine if address is in cache.
 
bool hasBeenPrefetched (Addr addr, bool is_secure) const override
 Determine if address has been prefetched.
 
bool hasBeenPrefetched (Addr addr, bool is_secure, RequestorID requestor) const override
 Determine if address has been prefetched by the requestor.
 
bool inMissQueue (Addr addr, bool is_secure) const override
 Determine if address is in cache miss queue.
 
bool coalesce () const override
 Determine if cache is coalescing writes.
 

Public Attributes

BaseCachecache
 

Detailed Description

Definition at line 322 of file base.hh.

Constructor & Destructor Documentation

◆ CacheAccessorImpl()

gem5::BaseCache::CacheAccessorImpl::CacheAccessorImpl ( BaseCache & _cache)
inline

Definition at line 326 of file base.hh.

Member Function Documentation

◆ coalesce()

bool gem5::BaseCache::CacheAccessorImpl::coalesce ( ) const
inlineoverridevirtual

Determine if cache is coalescing writes.

Implements gem5::CacheAccessor.

Definition at line 341 of file base.hh.

References cache, and gem5::BaseCache::coalesce().

◆ hasBeenPrefetched() [1/2]

bool gem5::BaseCache::CacheAccessorImpl::hasBeenPrefetched ( Addr addr,
bool is_secure ) const
inlineoverridevirtual

Determine if address has been prefetched.

Implements gem5::CacheAccessor.

Definition at line 331 of file base.hh.

References gem5::X86ISA::addr, cache, and gem5::BaseCache::hasBeenPrefetched().

◆ hasBeenPrefetched() [2/2]

bool gem5::BaseCache::CacheAccessorImpl::hasBeenPrefetched ( Addr addr,
bool is_secure,
RequestorID requestor ) const
inlineoverridevirtual

Determine if address has been prefetched by the requestor.

Implements gem5::CacheAccessor.

Definition at line 334 of file base.hh.

References gem5::X86ISA::addr, cache, and gem5::BaseCache::hasBeenPrefetched().

◆ inCache()

bool gem5::BaseCache::CacheAccessorImpl::inCache ( Addr addr,
bool is_secure ) const
inlineoverridevirtual

Determine if address is in cache.

Implements gem5::CacheAccessor.

Definition at line 328 of file base.hh.

References gem5::X86ISA::addr, cache, and gem5::BaseCache::inCache().

◆ inMissQueue()

bool gem5::BaseCache::CacheAccessorImpl::inMissQueue ( Addr addr,
bool is_secure ) const
inlineoverridevirtual

Determine if address is in cache miss queue.

Implements gem5::CacheAccessor.

Definition at line 338 of file base.hh.

References gem5::X86ISA::addr, cache, and gem5::BaseCache::inMissQueue().

Member Data Documentation

◆ cache

BaseCache& gem5::BaseCache::CacheAccessorImpl::cache

Definition at line 324 of file base.hh.

Referenced by coalesce(), hasBeenPrefetched(), hasBeenPrefetched(), inCache(), and inMissQueue().


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

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