From: Brad Beckmann Date: Fri, 20 Aug 2010 18:46:13 +0000 (-0700) Subject: ruby: Fixed RubyPort sendTiming callbacks X-Git-Tag: stable_2012_02_02~937 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6d08e0455a9256a157d683eb31c7af541c30ce9;p=gem5.git ruby: Fixed RubyPort sendTiming callbacks Fixed RubyPort schedSendTiming calls to match ruby frequency. --- 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; }