diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2012-01-11 13:48:48 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2012-01-11 13:48:48 -0600 |
commit | bf59a9298f6154cb85ebebabd4f45738caf29b35 (patch) | |
tree | c1fb403509108916dcb36e4d432a877d733085ab /src/mem/ruby/buffers | |
parent | 3f8065290a4740baea8b9a8ebcd361b161636d56 (diff) | |
download | gem5-bf59a9298f6154cb85ebebabd4f45738caf29b35.tar.xz |
Ruby: Resurrect Cache Warmup Capability
This patch resurrects ruby's cache warmup capability. It essentially
makes use of all the infrastructure that was added to the controllers,
memories and the cache recorder.
Diffstat (limited to 'src/mem/ruby/buffers')
-rw-r--r-- | src/mem/ruby/buffers/MessageBuffer.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mem/ruby/buffers/MessageBuffer.cc b/src/mem/ruby/buffers/MessageBuffer.cc index cab98cee9..9a7fdb61b 100644 --- a/src/mem/ruby/buffers/MessageBuffer.cc +++ b/src/mem/ruby/buffers/MessageBuffer.cc @@ -198,7 +198,11 @@ MessageBuffer::enqueue(MsgPtr message, Time delta) m_last_arrival_time * g_eventQueue_ptr->getClock()); } } - m_last_arrival_time = arrival_time; + + // If running a cache trace, don't worry about the last arrival checks + if (!g_system_ptr->m_warmup_enabled) { + m_last_arrival_time = arrival_time; + } // compute the delay cycles and set enqueue time Message* msg_ptr = message.get(); |