summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/System.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-08-14 19:28:44 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-08-14 19:28:44 -0500
commitd660b3145b5bf525814b28bedff2becf4d8c64d0 (patch)
tree85855044107512ab2ed46cf99005b1cd2ee61f58 /src/mem/ruby/system/System.hh
parentca368765a1ea846697621c6eac0ad8a0b6aa5a3a (diff)
downloadgem5-d660b3145b5bf525814b28bedff2becf4d8c64d0.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 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;