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:
Jason Lowe-Power
2018-03-23 10:34:02 -07:00
parent 9f37f28582
commit f6a28e5fc2
2 changed files with 4 additions and 4 deletions

View File

@@ -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.

View File

@@ -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.