Sequencer.cc (7805:f249937228b5) | Sequencer.cc (7823:dac01f14f20f) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127 total_outstanding += m_readRequestTable.size(); 128 129 assert(m_outstanding_count == total_outstanding); 130 131 if (m_outstanding_count > 0) { 132 // If there are still outstanding requests, keep checking 133 schedule(deadlockCheckEvent, 134 m_deadlock_threshold * g_eventQueue_ptr->getClock() + | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127 total_outstanding += m_readRequestTable.size(); 128 129 assert(m_outstanding_count == total_outstanding); 130 131 if (m_outstanding_count > 0) { 132 // If there are still outstanding requests, keep checking 133 schedule(deadlockCheckEvent, 134 m_deadlock_threshold * g_eventQueue_ptr->getClock() + |
135 curTick); | 135 curTick()); |
136 } 137} 138 139void 140Sequencer::printStats(ostream & out) const 141{ 142 out << "Sequencer: " << m_name << endl 143 << " store_waiting_on_load_cycles: " --- 74 unchanged lines hidden (view full) --- 218{ 219 int total_outstanding = 220 m_writeRequestTable.size() + m_readRequestTable.size(); 221 222 assert(m_outstanding_count == total_outstanding); 223 224 // See if we should schedule a deadlock check 225 if (deadlockCheckEvent.scheduled() == false) { | 136 } 137} 138 139void 140Sequencer::printStats(ostream & out) const 141{ 142 out << "Sequencer: " << m_name << endl 143 << " store_waiting_on_load_cycles: " --- 74 unchanged lines hidden (view full) --- 218{ 219 int total_outstanding = 220 m_writeRequestTable.size() + m_readRequestTable.size(); 221 222 assert(m_outstanding_count == total_outstanding); 223 224 // See if we should schedule a deadlock check 225 if (deadlockCheckEvent.scheduled() == false) { |
226 schedule(deadlockCheckEvent, m_deadlock_threshold + curTick); | 226 schedule(deadlockCheckEvent, m_deadlock_threshold + curTick()); |
227 } 228 229 Address line_addr(request->ruby_request.paddr); 230 line_addr.makeLineAddress(); 231 if ((request->ruby_request.type == RubyRequestType_ST) || 232 (request->ruby_request.type == RubyRequestType_RMW_Read) || 233 (request->ruby_request.type == RubyRequestType_RMW_Write) || 234 (request->ruby_request.type == RubyRequestType_Locked_Read) || --- 501 unchanged lines hidden --- | 227 } 228 229 Address line_addr(request->ruby_request.paddr); 230 line_addr.makeLineAddress(); 231 if ((request->ruby_request.type == RubyRequestType_ST) || 232 (request->ruby_request.type == RubyRequestType_RMW_Read) || 233 (request->ruby_request.type == RubyRequestType_RMW_Write) || 234 (request->ruby_request.type == RubyRequestType_Locked_Read) || --- 501 unchanged lines hidden --- |