From 987de4f5ccc5639ca03cc3c90e48bc06b5429823 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 2 Mar 2015 04:00:37 -0500 Subject: mem: Tidy up the cache debug messages Avoid redundant inclusion of the name in the DPRINTF string. --- src/mem/cache/base.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mem/cache/base.cc') diff --git a/src/mem/cache/base.cc b/src/mem/cache/base.cc index cf55b8591..b474aeedc 100644 --- a/src/mem/cache/base.cc +++ b/src/mem/cache/base.cc @@ -92,13 +92,13 @@ void BaseCache::CacheSlavePort::setBlocked() { assert(!blocked); - DPRINTF(CachePort, "Cache port %s blocking new requests\n", name()); + DPRINTF(CachePort, "Port is blocking new requests\n"); blocked = true; // if we already scheduled a retry in this cycle, but it has not yet // happened, cancel it if (sendRetryEvent.scheduled()) { owner.deschedule(sendRetryEvent); - DPRINTF(CachePort, "Cache port %s deschedule retry\n", name()); + DPRINTF(CachePort, "Port descheduled retry\n"); mustSendRetry = true; } } @@ -107,10 +107,10 @@ void BaseCache::CacheSlavePort::clearBlocked() { assert(blocked); - DPRINTF(CachePort, "Cache port %s accepting new requests\n", name()); + DPRINTF(CachePort, "Port is accepting new requests\n"); blocked = false; if (mustSendRetry) { - // @TODO: need to find a better time (next bus cycle?) + // @TODO: need to find a better time (next cycle?) owner.schedule(sendRetryEvent, curTick() + 1); } } @@ -118,7 +118,7 @@ BaseCache::CacheSlavePort::clearBlocked() void BaseCache::CacheSlavePort::processSendRetry() { - DPRINTF(CachePort, "Cache port %s sending retry\n", name()); + DPRINTF(CachePort, "Port is sending retry\n"); // reset the flag and call retry mustSendRetry = false; -- cgit v1.2.3