From: Steve Reinhardt Date: Sat, 14 Jul 2007 20:16:58 +0000 (-0700) Subject: Move a couple of DPRINTFs from Cache to CachePort. X-Git-Tag: m5_2.0_beta4~195^2~50^2~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abd194df5c2dfd0ebf608c5d59196a08ca0ef630;p=gem5.git Move a couple of DPRINTFs from Cache to CachePort. --HG-- extra : convert_revision : 55a0d26660aeb8f63b41897d53e6b2d1f0a163be --- diff --git a/src/mem/cache/base_cache.hh b/src/mem/cache/base_cache.hh index fcc040bd9..46414974b 100644 --- a/src/mem/cache/base_cache.hh +++ b/src/mem/cache/base_cache.hh @@ -126,7 +126,7 @@ class BaseCache : public MemObject void requestBus(RequestCause cause, Tick time) { - DPRINTF(Cache, "Asserting bus request for cause %d\n", cause); + DPRINTF(CachePort, "Asserting bus request for cause %d\n", cause); if (!waitingOnRetry) { schedSendEvent(time); } diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index 320e0be81..b159df84a 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -1238,7 +1238,8 @@ Cache::MemSidePort::sendPacket() MSHR *mshr = dynamic_cast(pkt->senderState); bool success = sendTiming(pkt); - DPRINTF(Cache, "Address %x was %s in sending the timing request\n", + DPRINTF(CachePort, + "Address %x was %s in sending the timing request\n", pkt->getAddr(), success ? "successful" : "unsuccessful"); waitingOnRetry = !success;