changeset 476febc1aff0 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=476febc1aff0
description:
Ruby: Delete packet requests during warmup
When warming up caches in Ruby, the CacheRecorder sends fetch requests
into
Ruby Sequencers with packet types that require responses. Since
responses are
never generated for these CacheRecorder requests, the requests are not
deleted
in the packet destructor called from the Ruby hit callback. Free the
request.
diffstat:
src/mem/ruby/system/Sequencer.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 5ebde5544529 -r 476febc1aff0 src/mem/ruby/system/Sequencer.cc
--- a/src/mem/ruby/system/Sequencer.cc Tue Apr 09 16:25:29 2013 -0500
+++ b/src/mem/ruby/system/Sequencer.cc Tue Apr 09 16:25:29 2013 -0500
@@ -560,6 +560,8 @@
delete srequest;
if (g_system_ptr->m_warmup_enabled) {
+ assert(pkt->req);
+ delete pkt->req;
delete pkt;
g_system_ptr->m_cache_recorder->enqueueNextFetchRequest();
} else if (g_system_ptr->m_cooldown_enabled) {
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev