ruby: Removed the tech_nm variable from RubySystem
This commit is contained in:
parent
12daaed84a
commit
63a60cc81e
|
@ -6,8 +6,6 @@ class RubySystem(SimObject):
|
|||
random_seed = Param.Int(1234, "random seed used by the simulation");
|
||||
randomization = Param.Bool(False,
|
||||
"insert random delays on message enqueue times");
|
||||
tech_nm = Param.Int(45,
|
||||
"device size used to calculate latency and area information");
|
||||
clock = Param.Clock('1GHz', "")
|
||||
block_size_bytes = Param.Int(64,
|
||||
"default cache block size; must be a power of two");
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
|
||||
int RubySystem::m_random_seed;
|
||||
bool RubySystem::m_randomization;
|
||||
int RubySystem::m_tech_nm;
|
||||
Tick RubySystem::m_clock;
|
||||
int RubySystem::m_block_size_bytes;
|
||||
int RubySystem::m_block_size_bits;
|
||||
|
@ -92,7 +91,6 @@ RubySystem::RubySystem(const Params *p)
|
|||
m_random_seed = p->random_seed;
|
||||
srandom(m_random_seed);
|
||||
m_randomization = p->randomization;
|
||||
m_tech_nm = p->tech_nm;
|
||||
m_clock = p->clock;
|
||||
|
||||
m_block_size_bytes = p->block_size_bytes;
|
||||
|
@ -129,7 +127,6 @@ void RubySystem::printSystemConfig(ostream & out)
|
|||
out << "RubySystem config:" << endl;
|
||||
out << " random_seed: " << m_random_seed << endl;
|
||||
out << " randomization: " << m_randomization << endl;
|
||||
out << " tech_nm: " << m_tech_nm << endl;
|
||||
out << " cycle_period: " << m_clock << endl;
|
||||
out << " block_size_bytes: " << m_block_size_bytes << endl;
|
||||
out << " block_size_bits: " << m_block_size_bits << endl;
|
||||
|
|
|
@ -96,7 +96,6 @@ public:
|
|||
// config accessors
|
||||
static int getRandomSeed() { return m_random_seed; }
|
||||
static int getRandomization() { return m_randomization; }
|
||||
static int getTechNm() { return m_tech_nm; }
|
||||
static int getBlockSizeBytes() { return m_block_size_bytes; }
|
||||
static int getBlockSizeBits() { return m_block_size_bits; }
|
||||
static uint64 getMemorySizeBytes() { return m_memory_size_bytes; }
|
||||
|
@ -162,7 +161,6 @@ private:
|
|||
// configuration parameters
|
||||
static int m_random_seed;
|
||||
static bool m_randomization;
|
||||
static int m_tech_nm;
|
||||
static Tick m_clock;
|
||||
static int m_block_size_bytes;
|
||||
static int m_block_size_bits;
|
||||
|
|
Loading…
Reference in a new issue