summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resources/cache_unit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/inorder/resources/cache_unit.cc')
-rw-r--r--src/cpu/inorder/resources/cache_unit.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/inorder/resources/cache_unit.cc b/src/cpu/inorder/resources/cache_unit.cc
index 4d21f527e..67ee51743 100644
--- a/src/cpu/inorder/resources/cache_unit.cc
+++ b/src/cpu/inorder/resources/cache_unit.cc
@@ -47,6 +47,7 @@ using namespace std;
using namespace TheISA;
using namespace ThePipeline;
+#if TRACING_ON
static std::string
printMemData(uint8_t *data, unsigned size)
{
@@ -56,6 +57,7 @@ printMemData(uint8_t *data, unsigned size)
}
return dataStr.str();
}
+#endif
Tick
CacheUnit::CachePort::recvAtomic(PacketPtr pkt)