projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b130c1
)
ruby: Fixed RubyPort sendTiming callbacks
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Fri, 20 Aug 2010 18:46:13 +0000
(11:46 -0700)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Fri, 20 Aug 2010 18:46:13 +0000
(11:46 -0700)
Fixed RubyPort schedSendTiming calls to match ruby frequency.
src/mem/ruby/system/RubyPort.cc
patch
|
blob
|
history
diff --git
a/src/mem/ruby/system/RubyPort.cc
b/src/mem/ruby/system/RubyPort.cc
index a8edb03b2e6eb6b6446efcadf3112e614e013e62..46bef49c6b61d8224fbf65180052b65a8b44b886 100644
(file)
--- 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;
}