diff options
Diffstat (limited to 'src/mem/ruby/system')
-rw-r--r-- | src/mem/ruby/system/RubySystem.py | 1 | ||||
-rw-r--r-- | src/mem/ruby/system/System.cc | 3 | ||||
-rw-r--r-- | src/mem/ruby/system/System.hh | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/mem/ruby/system/RubySystem.py b/src/mem/ruby/system/RubySystem.py index 81a9a181b..c10f8117f 100644 --- a/src/mem/ruby/system/RubySystem.py +++ b/src/mem/ruby/system/RubySystem.py @@ -34,7 +34,6 @@ from SimpleMemory import * class RubySystem(ClockedObject): type = 'RubySystem' cxx_header = "mem/ruby/system/System.hh" - random_seed = Param.Int(1234, "random seed used by the simulation"); randomization = Param.Bool(False, "insert random delays on message enqueue times"); block_size_bytes = Param.UInt32(64, diff --git a/src/mem/ruby/system/System.cc b/src/mem/ruby/system/System.cc index ad2f59e4f..cb485a47b 100644 --- a/src/mem/ruby/system/System.cc +++ b/src/mem/ruby/system/System.cc @@ -45,7 +45,6 @@ using namespace std; -int RubySystem::m_random_seed; bool RubySystem::m_randomization; uint32_t RubySystem::m_block_size_bytes; uint32_t RubySystem::m_block_size_bits; @@ -60,8 +59,6 @@ RubySystem::RubySystem(const Params *p) : ClockedObject(p), m_access_backing_store(p->access_backing_store), m_cache_recorder(NULL) { - m_random_seed = p->random_seed; - srandom(m_random_seed); m_randomization = p->randomization; m_block_size_bytes = p->block_size_bytes; diff --git a/src/mem/ruby/system/System.hh b/src/mem/ruby/system/System.hh index 5d306dfa2..70d216201 100644 --- a/src/mem/ruby/system/System.hh +++ b/src/mem/ruby/system/System.hh @@ -70,7 +70,6 @@ class RubySystem : public ClockedObject ~RubySystem(); // config accessors - static int getRandomSeed() { return m_random_seed; } static int getRandomization() { return m_randomization; } static uint32_t getBlockSizeBytes() { return m_block_size_bytes; } static uint32_t getBlockSizeBits() { return m_block_size_bits; } @@ -129,7 +128,6 @@ class RubySystem : public ClockedObject private: // configuration parameters - static int m_random_seed; static bool m_randomization; static uint32_t m_block_size_bytes; static uint32_t m_block_size_bits; |