Sequencer.cc (6890:87dea2f9f791) Sequencer.cc (6893:9cdf9b65d946)
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 183 unchanged lines hidden (view full) ---

192// the entry was already present.
193bool Sequencer::insertRequest(SequencerRequest* request) {
194 int total_outstanding = m_writeRequestTable.size() + m_readRequestTable.size();
195
196 assert(m_outstanding_count == total_outstanding);
197
198 // See if we should schedule a deadlock check
199 if (deadlockCheckEvent.scheduled() == false) {
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 183 unchanged lines hidden (view full) ---

192// the entry was already present.
193bool Sequencer::insertRequest(SequencerRequest* request) {
194 int total_outstanding = m_writeRequestTable.size() + m_readRequestTable.size();
195
196 assert(m_outstanding_count == total_outstanding);
197
198 // See if we should schedule a deadlock check
199 if (deadlockCheckEvent.scheduled() == false) {
200 schedule(deadlockCheckEvent, m_deadlock_threshold);
200 schedule(deadlockCheckEvent, m_deadlock_threshold + curTick);
201 }
202
203 Address line_addr(request->ruby_request.paddr);
204 line_addr.makeLineAddress();
205 if ((request->ruby_request.type == RubyRequestType_ST) ||
206 (request->ruby_request.type == RubyRequestType_RMW_Read) ||
207 (request->ruby_request.type == RubyRequestType_RMW_Write) ||
208 (request->ruby_request.type == RubyRequestType_Locked_Read) ||

--- 307 unchanged lines hidden ---
201 }
202
203 Address line_addr(request->ruby_request.paddr);
204 line_addr.makeLineAddress();
205 if ((request->ruby_request.type == RubyRequestType_ST) ||
206 (request->ruby_request.type == RubyRequestType_RMW_Read) ||
207 (request->ruby_request.type == RubyRequestType_RMW_Write) ||
208 (request->ruby_request.type == RubyRequestType_Locked_Read) ||

--- 307 unchanged lines hidden ---