summaryrefslogtreecommitdiff
path: root/configs
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 /configs
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 'configs')
-rw-r--r--configs/ruby/Ruby.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py
index 44dbb925f..36fe42115 100644
--- a/configs/ruby/Ruby.py
+++ b/configs/ruby/Ruby.py
@@ -82,9 +82,6 @@ def define_options(parser):
parser.add_option("--recycle-latency", type="int", default=10,
help="Recycle latency for ruby controller input buffers")
- parser.add_option("--random_seed", type="int", default=1234,
- help="Used for seeding the random number generator")
-
protocol = buildEnv['PROTOCOL']
exec "import %s" % protocol
eval("%s.define_options(parser)" % protocol)
@@ -236,7 +233,6 @@ def create_system(options, full_system, system, piobus = None, dma_ports = []):
ruby._cpu_ports = cpu_sequencers
ruby.num_of_sequencers = len(cpu_sequencers)
- ruby.random_seed = options.random_seed
# Create a backing copy of physical memory in case required
if options.access_backing_store: