MessageBuffer.cc (10524:fff17530cef6) | MessageBuffer.cc (10837:ecbab2522757) |
---|---|
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; --- 177 unchanged lines hidden (view full) --- 186 "delta: %d arrival_time: %d last arrival_time: %d\n", 187 *this, m_name, current_time, 188 delta * m_sender->clockPeriod(), 189 arrival_time, m_last_arrival_time); 190 } 191 } 192 193 // If running a cache trace, don't worry about the last arrival checks | 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; --- 177 unchanged lines hidden (view full) --- 186 "delta: %d arrival_time: %d last arrival_time: %d\n", 187 *this, m_name, current_time, 188 delta * m_sender->clockPeriod(), 189 arrival_time, m_last_arrival_time); 190 } 191 } 192 193 // If running a cache trace, don't worry about the last arrival checks |
194 if (!g_system_ptr->m_warmup_enabled) { | 194 if (!RubySystem::getWarmupEnabled()) { |
195 m_last_arrival_time = arrival_time; 196 } 197 198 // compute the delay cycles and set enqueue time 199 Message* msg_ptr = message.get(); 200 assert(msg_ptr != NULL); 201 202 assert(m_sender->clockEdge() >= msg_ptr->getLastEnqueueTime() && --- 221 unchanged lines hidden --- | 195 m_last_arrival_time = arrival_time; 196 } 197 198 // compute the delay cycles and set enqueue time 199 Message* msg_ptr = message.get(); 200 assert(msg_ptr != NULL); 201 202 assert(m_sender->clockEdge() >= msg_ptr->getLastEnqueueTime() && --- 221 unchanged lines hidden --- |