summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/MemoryControl.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-05-05 02:20:31 -0400
committerKorey Sewell <ksewell@umich.edu>2011-05-05 02:20:31 -0400
commita0415f2b24d1c3bcf49775dee302eb0b16f27106 (patch)
tree17fe10686f7c443bd4e3d0a83d0ae3fad3701dd7 /src/mem/ruby/system/MemoryControl.hh
parentfea2c26402894aa26de7b7d8e14fe71070b76296 (diff)
downloadgem5-a0415f2b24d1c3bcf49775dee302eb0b16f27106.tar.xz
ruby: use RubyMemory flag & remove setDebug() functionality
The RubyMemory flag wasnt used in the code, creating large gaps in trace output. Replace cprintfs w/dprintfs using RubyMemory in memory controller. DPRINTF also deprecate the usage of the setDebug() pure virtual function in the AbstractMemoryOrCache Class as well the m_debug/cprintf functions in MemoryControl.hh/cc
Diffstat (limited to 'src/mem/ruby/system/MemoryControl.hh')
-rw-r--r--src/mem/ruby/system/MemoryControl.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mem/ruby/system/MemoryControl.hh b/src/mem/ruby/system/MemoryControl.hh
index 0d5e2c38e..2b3cca603 100644
--- a/src/mem/ruby/system/MemoryControl.hh
+++ b/src/mem/ruby/system/MemoryControl.hh
@@ -84,7 +84,6 @@ class MemoryControl :
void printConfig(std::ostream& out);
void print(std::ostream& out) const;
- void setDebug(int debugFlag);
void clearStats() const;
void printStats(std::ostream& out) const;
@@ -161,7 +160,6 @@ class MemoryControl :
int m_refresh_bank; // which bank to refresh next
int m_ageCounter; // age of old requests; to detect starvation
int m_idleCount; // watchdog timer for shutting down
- int m_debug; // turn on printf's
MemCntrlProfiler* m_profiler_ptr;
};