diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-08-14 19:28:44 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-08-14 19:28:44 -0500 |
commit | e63c120d0d0a603049aa460ef53bb0589aa3527f (patch) | |
tree | 064e6741fe37517ed4e5cac76c2da28a2f60e618 /src/mem | |
parent | 8114c7ff2c19540bb9147a4b97fe86bcb7f9cfde (diff) | |
download | gem5-e63c120d0d0a603049aa460ef53bb0589aa3527f.tar.xz |
ruby: directory memory: drop unused variable.
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/ruby/structures/DirectoryMemory.cc | 2 | ||||
-rw-r--r-- | src/mem/ruby/structures/DirectoryMemory.hh | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/mem/ruby/structures/DirectoryMemory.cc b/src/mem/ruby/structures/DirectoryMemory.cc index b840349e1..82388a895 100644 --- a/src/mem/ruby/structures/DirectoryMemory.cc +++ b/src/mem/ruby/structures/DirectoryMemory.cc @@ -37,7 +37,6 @@ using namespace std; int DirectoryMemory::m_num_directories = 0; int DirectoryMemory::m_num_directories_bits = 0; -uint64_t DirectoryMemory::m_total_size_bytes = 0; int DirectoryMemory::m_numa_high_bit = 0; DirectoryMemory::DirectoryMemory(const Params *p) @@ -60,7 +59,6 @@ DirectoryMemory::init() m_num_directories++; m_num_directories_bits = ceilLog2(m_num_directories); - m_total_size_bytes += m_size_bytes; if (m_numa_high_bit == 0) { m_numa_high_bit = RubySystem::getMemorySizeBits() - 1; diff --git a/src/mem/ruby/structures/DirectoryMemory.hh b/src/mem/ruby/structures/DirectoryMemory.hh index a549366d0..98403808b 100644 --- a/src/mem/ruby/structures/DirectoryMemory.hh +++ b/src/mem/ruby/structures/DirectoryMemory.hh @@ -76,7 +76,6 @@ class DirectoryMemory : public SimObject static int m_num_directories; static int m_num_directories_bits; - static uint64_t m_total_size_bytes; static int m_numa_high_bit; }; |