ruby: directory memory: drop unused variable.
This commit is contained in:
parent
8114c7ff2c
commit
e63c120d0d
2 changed files with 0 additions and 3 deletions
|
@ -37,7 +37,6 @@ using namespace std;
|
||||||
|
|
||||||
int DirectoryMemory::m_num_directories = 0;
|
int DirectoryMemory::m_num_directories = 0;
|
||||||
int DirectoryMemory::m_num_directories_bits = 0;
|
int DirectoryMemory::m_num_directories_bits = 0;
|
||||||
uint64_t DirectoryMemory::m_total_size_bytes = 0;
|
|
||||||
int DirectoryMemory::m_numa_high_bit = 0;
|
int DirectoryMemory::m_numa_high_bit = 0;
|
||||||
|
|
||||||
DirectoryMemory::DirectoryMemory(const Params *p)
|
DirectoryMemory::DirectoryMemory(const Params *p)
|
||||||
|
@ -60,7 +59,6 @@ DirectoryMemory::init()
|
||||||
|
|
||||||
m_num_directories++;
|
m_num_directories++;
|
||||||
m_num_directories_bits = ceilLog2(m_num_directories);
|
m_num_directories_bits = ceilLog2(m_num_directories);
|
||||||
m_total_size_bytes += m_size_bytes;
|
|
||||||
|
|
||||||
if (m_numa_high_bit == 0) {
|
if (m_numa_high_bit == 0) {
|
||||||
m_numa_high_bit = RubySystem::getMemorySizeBits() - 1;
|
m_numa_high_bit = RubySystem::getMemorySizeBits() - 1;
|
||||||
|
|
|
@ -76,7 +76,6 @@ class DirectoryMemory : public SimObject
|
||||||
|
|
||||||
static int m_num_directories;
|
static int m_num_directories;
|
||||||
static int m_num_directories_bits;
|
static int m_num_directories_bits;
|
||||||
static uint64_t m_total_size_bytes;
|
|
||||||
static int m_numa_high_bit;
|
static int m_numa_high_bit;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue