summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/RubyPort.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/system/RubyPort.cc')
-rw-r--r--src/mem/ruby/system/RubyPort.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mem/ruby/system/RubyPort.cc b/src/mem/ruby/system/RubyPort.cc
index a8edb03b2..46bef49c6 100644
--- a/src/mem/ruby/system/RubyPort.cc
+++ b/src/mem/ruby/system/RubyPort.cc
@@ -317,14 +317,16 @@ RubyPort::M5Port::hitCallback(PacketPtr pkt)
bool
RubyPort::M5Port::sendTiming(PacketPtr pkt)
{
- schedSendTiming(pkt, curTick + 1); //minimum latency, must be > 0
+ //minimum latency, must be > 0
+ schedSendTiming(pkt, curTick + (1 * g_eventQueue_ptr->getClock()));
return true;
}
bool
RubyPort::PioPort::sendTiming(PacketPtr pkt)
{
- schedSendTiming(pkt, curTick + 1); //minimum latency, must be > 0
+ //minimum latency, must be > 0
+ schedSendTiming(pkt, curTick + (1 * g_eventQueue_ptr->getClock()));
return true;
}