30 #ifndef __MEM_RUBY_STRUCTURES_PSEUDOLRUPOLICY_HH__
31 #define __MEM_RUBY_STRUCTURES_PSEUDOLRUPOLICY_HH__
34 #include "params/PseudoLRUReplacementPolicy.hh"
52 typedef PseudoLRUReplacementPolicyParams
Params;
56 void touch(int64_t set, int64_t way,
Tick time);
66 #endif // __MEM_RUBY_STRUCTURES_PSEUDOLRUPOLICY_HH__
ReplacementPolicyParams Params
Implementation of tree-based pseudo-LRU replacement.
uint64_t * m_trees
number of levels in the tree
uint64_t Tick
Tick count type.
unsigned int m_num_levels
nearest (to ceiling) power of 2
PseudoLRUReplacementPolicyParams Params
int64_t getVictim(int64_t set) const
PseudoLRUPolicy(const Params *p)
void touch(int64_t set, int64_t way, Tick time)
unsigned int m_effective_assoc