44 LRUReplacementPolicyParams::create()
53 assert(index >= 0 && index <
m_assoc);
62 Tick time, smallest_time;
63 int64_t smallest_index = 0;
69 if (time < smallest_time) {
75 return smallest_index;
void touch(int64_t set, int64_t way, Tick time)
ReplacementPolicyParams Params
unsigned m_assoc
total number of sets
int64_t getVictim(int64_t set) const
Tick ** m_last_ref_ptr
set associativity
LRUPolicy(const Params *p)
uint64_t Tick
Tick count type.