diff options
author | Steve Reinhardt <stever@gmail.com> | 2007-09-16 16:46:38 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2007-09-16 16:46:38 -0700 |
commit | 76c4c5fabc27922639bb5c8549620e4496454efe (patch) | |
tree | 40c670467fe5ffc01711d03df866ca9102859b11 /src/mem/cache/cache_impl.hh | |
parent | 4a4aa59632c918ad9e2941fb79fa05540d2b52af (diff) | |
download | gem5-76c4c5fabc27922639bb5c8549620e4496454efe.tar.xz |
mem: clean up bus/cache DPRINTFs a bit
Not so much noise on failed sends, and more complete
info when grepping a trace using an address.
--HG--
extra : convert_revision : 05a8261c9452072ca08b906200c6322b33e2b9f1
Diffstat (limited to 'src/mem/cache/cache_impl.hh')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index 34084c8dc..92ff4d12e 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -994,6 +994,10 @@ Cache<TagStore>::handleSnoop(PacketPtr pkt, BlkType *blk, blk->status &= ~bits_to_clear; } + DPRINTF(Cache, "snooped a %s request for addr %x, %snew state is %i\n", + pkt->cmdString(), blockAlign(pkt->getAddr()), + respond ? "responding, " : "", invalidate ? 0 : blk->status); + if (respond) { assert(!pkt->memInhibitAsserted()); pkt->assertMemInhibit(); @@ -1013,10 +1017,6 @@ Cache<TagStore>::handleSnoop(PacketPtr pkt, BlkType *blk, if (invalidate) { tags->invalidateBlk(blk); } - - DPRINTF(Cache, "snooped a %s request for addr %x, %snew state is %i\n", - pkt->cmdString(), blockAlign(pkt->getAddr()), - respond ? "responding, " : "", blk->status); } @@ -1384,9 +1384,6 @@ Cache<TagStore>::MemSidePort::sendPacket() MSHR *mshr = dynamic_cast<MSHR*>(pkt->senderState); bool success = sendTiming(pkt); - DPRINTF(CachePort, - "Address %x was %s in sending the timing request\n", - pkt->getAddr(), success ? "successful" : "unsuccessful"); waitingOnRetry = !success; if (waitingOnRetry) { |