Minor DPRINTF fixes.

--HG--
extra : convert_revision : 41956c9a480163ecac7807982215027e8ff1a4a9
This commit is contained in:
Steve Reinhardt 2007-02-06 21:53:05 -08:00
parent d486700149
commit 51e54f519d
3 changed files with 5 additions and 2 deletions

View file

@ -197,7 +197,8 @@ Bus::recvTiming(PacketPtr pkt)
// Packet was successfully sent. Return true.
// Also take care of retries
if (inRetry) {
DPRINTF(Bus, "Remove retry from list %i\n", retryList.front());
DPRINTF(Bus, "Remove retry from list %d\n",
retryList.front()->getId());
retryList.front()->onRetryList(false);
retryList.pop_front();
inRetry = false;

View file

@ -156,6 +156,8 @@ class Bus : public MemObject
void onRetryList(bool newVal)
{ _onRetryList = newVal; }
int getId() { return id; }
protected:
/** When reciving a timing request from the peer port (at id),

View file

@ -356,7 +356,7 @@ BaseCache::CacheEvent::process()
const char *
BaseCache::CacheEvent::description()
{
return "timing event\n";
return "BaseCache timing event";
}
void