summaryrefslogtreecommitdiff
path: root/src/mem/ruby/buffers
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-03-01 15:26:11 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2011-03-01 15:26:11 -0600
commit3a10b200f7d663ebc1fecc7449871a2cd356e815 (patch)
treec711b85bf11ac611e7571f2d5fb1bcfdd9f10356 /src/mem/ruby/buffers
parent9e608a6ad7a965a08798ba25822b5da7cd17d7a0 (diff)
downloadgem5-3a10b200f7d663ebc1fecc7449871a2cd356e815.tar.xz
Ruby: Fix DPRINTF bugs in PerfectSwitch and MessageBuffer
At a couple of places in PerfectSwitch.cc and MessageBuffer.cc, DPRINTF() has not been provided with correct number of arguments. The patch fixes these bugs.
Diffstat (limited to 'src/mem/ruby/buffers')
-rw-r--r--src/mem/ruby/buffers/MessageBuffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/buffers/MessageBuffer.cc b/src/mem/ruby/buffers/MessageBuffer.cc
index 793e28857..4c4db5dc3 100644
--- a/src/mem/ruby/buffers/MessageBuffer.cc
+++ b/src/mem/ruby/buffers/MessageBuffer.cc
@@ -380,7 +380,7 @@ MessageBuffer::reanalyzeAllMessages()
void
MessageBuffer::stallMessage(const Address& addr)
{
- DPRINTF(RubyQueue, "Stalling %s\n");
+ DPRINTF(RubyQueue, "Stalling due to %s\n", addr);
assert(isReady());
assert(addr.getOffset() == 0);
MsgPtr message = m_prio_heap.front().m_msgptr;