summaryrefslogtreecommitdiff
path: root/cpu/memtest/memtest.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/memtest/memtest.hh')
-rw-r--r--cpu/memtest/memtest.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/memtest/memtest.hh b/cpu/memtest/memtest.hh
index 45b2d24e8..ed25cf374 100644
--- a/cpu/memtest/memtest.hh
+++ b/cpu/memtest/memtest.hh
@@ -60,6 +60,9 @@ class MemTest : public SimObject
// register statistics
virtual void regStats();
+
+ inline Tick cycles(int numCycles) const { return numCycles; }
+
// main simulation loop (one cycle)
void tick();