mem-cache: fix missing overrides in repl policies
Change-Id: I67759a4532e8a46c1643d4c3a9c546ad6b565b81 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/9321 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
This commit is contained in:
4
src/mem/cache/replacement_policies/lru_rp.hh
vendored
4
src/mem/cache/replacement_policies/lru_rp.hh
vendored
@@ -62,7 +62,7 @@ class LRURP : public BaseReplacementPolicy
|
||||
*
|
||||
* @param blk Cache block to be touched.
|
||||
*/
|
||||
void touch(CacheBlk *blk);
|
||||
void touch(CacheBlk *blk) override;
|
||||
|
||||
/**
|
||||
* Reset replacement data for a block. Used when a block is inserted.
|
||||
@@ -70,7 +70,7 @@ class LRURP : public BaseReplacementPolicy
|
||||
*
|
||||
* @param blk Cache block to be reset.
|
||||
*/
|
||||
void reset(CacheBlk *blk);
|
||||
void reset(CacheBlk *blk) override;
|
||||
|
||||
/**
|
||||
* Find replacement victim using LRU timestamps.
|
||||
|
||||
4
src/mem/cache/replacement_policies/mru_rp.hh
vendored
4
src/mem/cache/replacement_policies/mru_rp.hh
vendored
@@ -62,7 +62,7 @@ class MRURP : public BaseReplacementPolicy
|
||||
*
|
||||
* @param blk Cache block to be touched.
|
||||
*/
|
||||
void touch(CacheBlk *blk);
|
||||
void touch(CacheBlk *blk) override;
|
||||
|
||||
/**
|
||||
* Reset replacement data for a block. Used when a block is inserted.
|
||||
@@ -70,7 +70,7 @@ class MRURP : public BaseReplacementPolicy
|
||||
*
|
||||
* @param blk Cache block to be reset.
|
||||
*/
|
||||
void reset(CacheBlk *blk);
|
||||
void reset(CacheBlk *blk) override;
|
||||
|
||||
/**
|
||||
* Find replacement victim using access timestamps.
|
||||
|
||||
Reference in New Issue
Block a user