summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/MemoryVector.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/system/MemoryVector.hh')
-rw-r--r--src/mem/ruby/system/MemoryVector.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mem/ruby/system/MemoryVector.hh b/src/mem/ruby/system/MemoryVector.hh
index 9bd3516c2..315e00942 100644
--- a/src/mem/ruby/system/MemoryVector.hh
+++ b/src/mem/ruby/system/MemoryVector.hh
@@ -30,6 +30,7 @@
#define __MEM_RUBY_SYSTEM_MEMORYVECTOR_HH__
#include "base/trace.hh"
+#include "debug/RubyCacheTrace.hh"
#include "mem/ruby/common/Address.hh"
class DirectoryMemory;
@@ -184,6 +185,8 @@ MemoryVector::collatePages(uint8* &raw_data)
memcpy(raw_data, &m_num_pages, sizeof(uint32));
data_size = sizeof(uint32);
+ DPRINTF(RubyCacheTrace, "collating %d pages\n", m_num_pages);
+
for (uint32 i = 0;i < m_num_pages; ++i)
{
if (m_pages[i] == 0) {
@@ -217,6 +220,8 @@ MemoryVector::populatePages(uint8* raw_data)
data_size = sizeof(uint32);
assert(num_pages == m_num_pages);
+ DPRINTF(RubyCacheTrace, "Populating %d pages\n", num_pages);
+
for (uint32 i = 0;i < m_num_pages; ++i)
{
assert(m_pages[i] == 0);