diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/ruby/system/WeightedLRUPolicy.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/system/WeightedLRUPolicy.hh b/src/mem/ruby/system/WeightedLRUPolicy.hh index 3150779b2..3cee9cb47 100644 --- a/src/mem/ruby/system/WeightedLRUPolicy.hh +++ b/src/mem/ruby/system/WeightedLRUPolicy.hh @@ -49,11 +49,11 @@ class WeightedLRUPolicy : public AbstractReplacementPolicy WeightedLRUPolicy(const Params* p); ~WeightedLRUPolicy(); - void touch(int64_t set, int64_t way, Tick time); + void touch(int64_t set, int64_t way, Tick time) override; void touch(int64_t set, int64_t way, Tick time, int occupancy); int64_t getVictim(int64_t set) const override; - bool useOccupancy() const { return true; } + bool useOccupancy() const override { return true; } CacheMemory * m_cache; int **m_last_occ_ptr; |