summaryrefslogtreecommitdiff
path: root/cpu/memtest/memtest.hh
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2004-11-12 14:50:28 -0500
committerRon Dreslinski <rdreslin@umich.edu>2004-11-12 14:50:28 -0500
commitad3e3217e3b0f0448d27f2a0b66c3ed952106a6e (patch)
treea45e9282b8699539773224638ca3d6d3fb443461 /cpu/memtest/memtest.hh
parent856fdbe5aa66c79198e911083f196894d112b809 (diff)
parent501db90f2ce7c083294e7981d6ef78b1420d671a (diff)
downloadgem5-ad3e3217e3b0f0448d27f2a0b66c3ed952106a6e.tar.xz
Merge
--HG-- extra : convert_revision : d7a5cccd3472bc59b840a0e5285cd65dcc2484fe
Diffstat (limited to 'cpu/memtest/memtest.hh')
-rw-r--r--cpu/memtest/memtest.hh15
1 files changed, 10 insertions, 5 deletions
diff --git a/cpu/memtest/memtest.hh b/cpu/memtest/memtest.hh
index 72e0709d9..43b17a713 100644
--- a/cpu/memtest/memtest.hh
+++ b/cpu/memtest/memtest.hh
@@ -29,13 +29,14 @@
#ifndef __MEMTEST_HH__
#define __MEMTEST_HH__
-#include "sim/sim_object.hh"
-#include "mem/mem_interface.hh"
-#include "mem/functional_mem/functional_memory.hh"
-#include "cpu/base_cpu.hh"
-#include "cpu/exec_context.hh"
+#include <set>
#include "base/statistics.hh"
+#include "cpu/base_cpu.hh"
+#include "cpu/exec_context.hh"
+#include "mem/functional_mem/functional_memory.hh"
+#include "mem/mem_interface.hh"
+#include "sim/sim_object.hh"
#include "sim/stats.hh"
class MemTest : public BaseCPU
@@ -87,6 +88,10 @@ class MemTest : public BaseCPU
unsigned percentCopies; // target percentage of copy accesses
unsigned percentUncacheable;
+ int id;
+
+ std::set<unsigned> outstandingAddrs;
+
unsigned blockSize;
Addr blockAddrMask;