summaryrefslogtreecommitdiff
path: root/src/mem/cache/base.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-03-02 04:00:37 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-03-02 04:00:37 -0500
commit987de4f5ccc5639ca03cc3c90e48bc06b5429823 (patch)
tree1cb802979c420ae38c0471ba646097f163c407dd /src/mem/cache/base.cc
parentf26a28929583f2ed7fb55521e49c3f9bef557c05 (diff)
downloadgem5-987de4f5ccc5639ca03cc3c90e48bc06b5429823.tar.xz
mem: Tidy up the cache debug messages
Avoid redundant inclusion of the name in the DPRINTF string.
Diffstat (limited to 'src/mem/cache/base.cc')
-rw-r--r--src/mem/cache/base.cc10
1 files changed, 5 insertions, 5 deletions
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;