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.
This commit is contained in:
Nilay Vaish
2012-05-22 11:32:57 -05:00
parent 4d4d212ae9
commit 6a966d5eeb

View File

@@ -220,7 +220,9 @@ Sequencer::insertRequest(PacketPtr pkt, RubyRequestType request_type)
// 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());