summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/System.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-09-01 15:50:33 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-09-01 15:50:33 -0500
commitfe47f0a72fda6b101c10810acfb60569fe5b05cd (patch)
tree60ceffb990f546249e8e4033c6e0c293b02f9187 /src/mem/ruby/system/System.hh
parent5d555df359868ade54ea0a23b027839bd40ae613 (diff)
downloadgem5-fe47f0a72fda6b101c10810acfb60569fe5b05cd.tar.xz
ruby: remove random seed
We no longer use the C library based random number generator: random(). Instead we use the C++ library provided rng. So setting the random seed for the RubySystem class has no effect. Hence the variable and the corresponding option are being dropped.
Diffstat (limited to 'src/mem/ruby/system/System.hh')
-rw-r--r--src/mem/ruby/system/System.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mem/ruby/system/System.hh b/src/mem/ruby/system/System.hh
index 210a633e8..c79732651 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; }
@@ -130,7 +129,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;