summaryrefslogtreecommitdiff
path: root/src/learning_gem5/part2/simple_cache.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/learning_gem5/part2/simple_cache.hh')
-rw-r--r--src/learning_gem5/part2/simple_cache.hh6
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: