Minor DPRINTF fixes.
authorSteve Reinhardt <stever@eecs.umich.edu>
Wed, 7 Feb 2007 05:53:05 +0000 (21:53 -0800)
committerSteve Reinhardt <stever@eecs.umich.edu>
Wed, 7 Feb 2007 05:53:05 +0000 (21:53 -0800)
--HG--
extra : convert_revision : 41956c9a480163ecac7807982215027e8ff1a4a9

src/mem/bus.cc
src/mem/bus.hh
src/mem/cache/base_cache.cc

index bd721dd68a420d5f9b6f194a0f866645ca607cc3..2d7f20ae63a462525ded529776166f8b61706f68 100644 (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;
index 0ad4aad60b1655b5add83565d0cffd1795786173..350a67b435f1dee3ddb561406cddccb8850bf425 100644 (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),
index d9e6c5e1f89798f825a23d3e02cae35c4ceb1f61..ace46d7526c976dfc45439ee56aade2943af1203 100644 (file)
@@ -356,7 +356,7 @@ BaseCache::CacheEvent::process()
 const char *
 BaseCache::CacheEvent::description()
 {
-    return "timing event\n";
+    return "BaseCache timing event";
 }
 
 void