summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-11-16 10:27:47 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2012-11-16 10:27:47 -0600
commit2d6470936ca06310b213117159fa0010259708cd (patch)
tree24fc62d3c1b27711fecadffacc722bbae45c3df9 /src/mem/ruby/network
parent2680c827bee835175d780b82b93590e2b3467591 (diff)
downloadgem5-2d6470936ca06310b213117159fa0010259708cd.tar.xz
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.
Diffstat (limited to 'src/mem/ruby/network')
-rw-r--r--src/mem/ruby/network/Topology.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/ruby/network/Topology.cc b/src/mem/ruby/network/Topology.cc
index 082b2c4ac..7ccc9e3e2 100644
--- a/src/mem/ruby/network/Topology.cc
+++ b/src/mem/ruby/network/Topology.cc
@@ -28,6 +28,7 @@
#include <cassert>
+#include "base/trace.hh"
#include "debug/RubyNetwork.hh"
#include "mem/protocol/MachineType.hh"
#include "mem/ruby/common/NetDest.hh"