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/sim/sim_object.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sim/sim_object.hh') diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh index f04289e2f..6424f631b 100644 --- a/src/sim/sim_object.hh +++ b/src/sim/sim_object.hh @@ -46,7 +46,7 @@ #include "enums/MemoryMode.hh" #include "params/SimObject.hh" #include "sim/drain.hh" -#include "sim/eventq.hh" +#include "sim/eventq_impl.hh" #include "sim/serialize.hh" class BaseCPU; -- cgit v1.2.3