diff options
author | Gabe Black <gabeblack@google.com> | 2019-09-06 16:31:13 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-09-09 01:54:36 +0000 |
commit | 37551510ea4b4b4eca16785393f7b17abd50f00e (patch) | |
tree | 690a00d6fdd4ff952b2121822b508d0ac90d79ac /src/learning_gem5/part2/simple_cache.hh | |
parent | 286b6267afde29fcbe7d6aa3950ded6dba9eda1e (diff) | |
download | gem5-37551510ea4b4b4eca16785393f7b17abd50f00e.tar.xz |
dev: Scrub out some lingering uses of MemObject.
MemObject doesn't do anything any more, and is basically just an alias
for ClockedObject.
Change-Id: Ic0e1658609e4e1d7f4b829fbc421f222e4869dee
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20719
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/learning_gem5/part2/simple_cache.hh')
-rw-r--r-- | src/learning_gem5/part2/simple_cache.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/learning_gem5/part2/simple_cache.hh b/src/learning_gem5/part2/simple_cache.hh index 56859eb77..173aa0fbb 100644 --- a/src/learning_gem5/part2/simple_cache.hh +++ b/src/learning_gem5/part2/simple_cache.hh @@ -33,8 +33,10 @@ #include <unordered_map> -#include "mem/mem_object.hh" +#include "base/statistics.hh" +#include "mem/port.hh" #include "params/SimpleCache.hh" +#include "sim/clocked_object.hh" /** * A very simple cache object. Has a fully-associative data store with random @@ -43,7 +45,7 @@ * be outstanding at a time. * This cache is a writeback cache. */ -class SimpleCache : public MemObject +class SimpleCache : public ClockedObject { private: |