52 #ifndef __MEM_CACHE_REPLACEMENT_POLICIES_BRRIP_RP_HH__
53 #define __MEM_CACHE_REPLACEMENT_POLICIES_BRRIP_RP_HH__
64 namespace replacement_policy
126 void invalidate(
const std::shared_ptr<ReplacementData>& replacement_data)
134 void touch(
const std::shared_ptr<ReplacementData>& replacement_data)
const
143 void reset(
const std::shared_ptr<ReplacementData>& replacement_data)
const
A replaceable entry is a basic entry in a 2d table-like structure that needs to have replacement func...
ReplaceableEntry * getVictim(const ReplacementCandidates &candidates) const override
Find replacement victim using rrpv.
const unsigned numRRPVBits
Number of RRPV bits.
void invalidate(const std::shared_ptr< ReplacementData > &replacement_data) override
Invalidate replacement data to set it as the next probable victim.
void touch(const std::shared_ptr< ReplacementData > &replacement_data) const override
Touch an entry to update its replacement data.
void reset(const std::shared_ptr< ReplacementData > &replacement_data) const override
Reset replacement data.
const bool hitPriority
The hit priority (HP) policy replaces entries that do not receive cache hits over any cache entry tha...
const unsigned btp
Bimodal throtle parameter.
std::shared_ptr< ReplacementData > instantiateEntry() override
Instantiate a replacement data entry.
A common base class of cache replacement policy objects.
BaseReplacementPolicyParams Params
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
BRRIP-specific implementation of replacement data.
bool valid
Whether the entry is valid.
BRRIPReplData(const int num_bits)
Default constructor.
SatCounter8 rrpv
Re-Reference Interval Prediction Value.
The replacement data needed by replacement policies.