From 2d6470936ca06310b213117159fa0010259708cd Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 16 Nov 2012 10:27:47 -0600 Subject: sim: have a curTick per eventq This patch adds a _curTick variable to an eventq. This variable is updated whenever an event is serviced in function serviceOne(), or all events upto a particular time are processed in function serviceEvents(). This change helps when there are eventqs that do not make use of curTick for scheduling events. --- src/mem/physical.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mem/physical.cc') diff --git a/src/mem/physical.cc b/src/mem/physical.cc index f55b95048..2b750f0ed 100644 --- a/src/mem/physical.cc +++ b/src/mem/physical.cc @@ -50,6 +50,7 @@ #include #include +#include "base/trace.hh" #include "debug/BusAddrRanges.hh" #include "debug/Checkpoint.hh" #include "mem/abstract_mem.hh" -- cgit v1.2.3