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.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -300,7 +300,7 @@ PerfectSwitch::wakeup()
|
||||
output_link_destinations[i];
|
||||
|
||||
// Enqeue msg
|
||||
DPRINTF(RubyNetwork, "%d enqueuing net msg from "
|
||||
DPRINTF(RubyNetwork, "Enqueuing net msg from "
|
||||
"inport[%d][%d] to outport [%d][%d] time: %lld.\n",
|
||||
incoming, vnet, outgoing, vnet,
|
||||
g_eventQueue_ptr->getTime());
|
||||
|
||||
Reference in New Issue
Block a user