36 #ifndef __MEM_CACHE_REPLACEMENT_POLICIES_MRU_RP_HH__
37 #define __MEM_CACHE_REPLACEMENT_POLICIES_MRU_RP_HH__
48 namespace replacement_policy
77 void invalidate(
const std::shared_ptr<ReplacementData>& replacement_data)
86 void touch(
const std::shared_ptr<ReplacementData>& replacement_data)
const
95 void reset(
const std::shared_ptr<ReplacementData>& replacement_data)
const
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
A replaceable entry is a basic entry in a 2d table-like structure that needs to have replacement func...
A common base class of cache replacement policy objects.
BaseReplacementPolicyParams Params
ReplaceableEntry * getVictim(const ReplacementCandidates &candidates) const override
Find replacement victim using access timestamps.
void invalidate(const std::shared_ptr< ReplacementData > &replacement_data) override
Invalidate replacement data to set it as the next probable victim.
std::shared_ptr< ReplacementData > instantiateEntry() override
Instantiate a replacement data entry.
void reset(const std::shared_ptr< ReplacementData > &replacement_data) const override
Reset replacement data.
void touch(const std::shared_ptr< ReplacementData > &replacement_data) const override
Touch an entry to update its replacement data.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
uint64_t Tick
Tick count type.
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
MRU-specific implementation of replacement data.
MRUReplData()
Default constructor.
Tick lastTouchTick
Tick on which the entry was last touched.
The replacement data needed by replacement policies.