gem5 v24.0.0.0
|
Provides generic cache lookup functions. More...
#include <cache_probe_arg.hh>
Public Member Functions | |
virtual bool | inCache (Addr addr, bool is_secure) const =0 |
Determine if address is in cache. | |
virtual bool | hasBeenPrefetched (Addr addr, bool is_secure) const =0 |
Determine if address has been prefetched. | |
virtual bool | hasBeenPrefetched (Addr addr, bool is_secure, RequestorID requestor) const =0 |
Determine if address has been prefetched by the requestor. | |
virtual bool | inMissQueue (Addr addr, bool is_secure) const =0 |
Determine if address is in cache miss queue. | |
virtual bool | coalesce () const =0 |
Determine if cache is coalescing writes. | |
Provides generic cache lookup functions.
A cache may provide a CacheAccessor object to other components that need to perform a lookup outside the normal cache control flow. Currently this is used by prefetchers that perform lookups when notified by cache events.
Definition at line 54 of file cache_probe_arg.hh.
|
pure virtual |
Determine if cache is coalescing writes.
Implemented in gem5::BaseCache::CacheAccessorImpl, and gem5::ruby::RubyPrefetcherProxy.
Referenced by gem5::prefetch::Base::probeNotify().
|
pure virtual |
Determine if address has been prefetched.
Implemented in gem5::BaseCache::CacheAccessorImpl, and gem5::ruby::RubyPrefetcherProxy.
Referenced by gem5::prefetch::Queued::notify(), and gem5::prefetch::Base::probeNotify().
|
pure virtual |
Determine if address has been prefetched by the requestor.
Implemented in gem5::BaseCache::CacheAccessorImpl, and gem5::ruby::RubyPrefetcherProxy.
|
pure virtual |
Determine if address is in cache.
Implemented in gem5::BaseCache::CacheAccessorImpl, and gem5::ruby::RubyPrefetcherProxy.
Referenced by gem5::prefetch::STeMS::checkForActiveGenerationsEnd(), gem5::prefetch::Queued::insert(), and gem5::prefetch::Queued::translationComplete().
|
pure virtual |
Determine if address is in cache miss queue.
Implemented in gem5::BaseCache::CacheAccessorImpl, and gem5::ruby::RubyPrefetcherProxy.
Referenced by gem5::prefetch::STeMS::checkForActiveGenerationsEnd(), gem5::prefetch::Queued::insert(), and gem5::prefetch::Queued::translationComplete().