diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-02-21 08:02:02 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-02-21 08:02:02 -0600 |
commit | 307f53e1640231c4f3d080f7e0c0561ee74d251b (patch) | |
tree | 7f788f4537828b127fa887312eb0f26844f12381 /src/mem/ruby/system | |
parent | f8f8b7e5c2382dac32a8109c56f1aaad7e6a5fd7 (diff) | |
download | gem5-307f53e1640231c4f3d080f7e0c0561ee74d251b.tar.xz |
ruby: cache: remove not required variable m_cache_name
Diffstat (limited to 'src/mem/ruby/system')
-rw-r--r-- | src/mem/ruby/system/CacheMemory.cc | 2 | ||||
-rw-r--r-- | src/mem/ruby/system/CacheMemory.hh | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/ruby/system/CacheMemory.cc b/src/mem/ruby/system/CacheMemory.cc index f57c4c7ad..2ea6942ff 100644 --- a/src/mem/ruby/system/CacheMemory.cc +++ b/src/mem/ruby/system/CacheMemory.cc @@ -364,7 +364,7 @@ CacheMemory::recordCacheContents(int cntrl, CacheRecorder* tr) const void CacheMemory::print(ostream& out) const { - out << "Cache dump: " << m_cache_name << endl; + out << "Cache dump: " << name() << endl; for (int i = 0; i < m_cache_num_sets; i++) { for (int j = 0; j < m_cache_assoc; j++) { if (m_cache[i][j] != NULL) { diff --git a/src/mem/ruby/system/CacheMemory.hh b/src/mem/ruby/system/CacheMemory.hh index db9e00e21..aa619e59d 100644 --- a/src/mem/ruby/system/CacheMemory.hh +++ b/src/mem/ruby/system/CacheMemory.hh @@ -144,7 +144,6 @@ class CacheMemory : public SimObject CacheMemory& operator=(const CacheMemory& obj); private: - const std::string m_cache_name; Cycles m_latency; // Data Members (m_prefix) |