changeset 52574306c576 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=52574306c576
description:
Ruby Sequencer: Schedule deadlock check event at correct time
The scheduling of the deadlock check event was being done incorrectly
as the
clock was not being multiplied, so as to convert the time into ticks.
This
patch removes that bug.
diffstat:
src/mem/ruby/system/Sequencer.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 7891b96e1526 -r 52574306c576 src/mem/ruby/system/Sequencer.cc
--- a/src/mem/ruby/system/Sequencer.cc Tue May 22 11:29:53 2012 -0500
+++ b/src/mem/ruby/system/Sequencer.cc Tue May 22 11:32:57 2012 -0500
@@ -220,7 +220,9 @@
// See if we should schedule a deadlock check
if (deadlockCheckEvent.scheduled() == false) {
- schedule(deadlockCheckEvent, m_deadlock_threshold + curTick());
+ schedule(deadlockCheckEvent,
+ m_deadlock_threshold * g_eventQueue_ptr->getClock()
+ + curTick());
}
Address line_addr(pkt->getAddr());
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev