summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-02-21 08:02:06 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2014-02-21 08:02:06 -0600
commit385e542c5af23688c1b9f0bd076b2bb66c7ec6c3 (patch)
treef39ddc0d2e1193c20e720e3a42759e69d6ba9cee /configs
parentcd33f9bc42816e812298e726fe40a8c68934f965 (diff)
downloadgem5-385e542c5af23688c1b9f0bd076b2bb66c7ec6c3.tar.xz
config: ruby_random_test: updates due to recent unrelated changes
Diffstat (limited to 'configs')
-rw-r--r--configs/example/ruby_mem_test.py2
-rw-r--r--configs/example/ruby_random_test.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/example/ruby_mem_test.py b/configs/example/ruby_mem_test.py
index 7848a8672..064140064 100644
--- a/configs/example/ruby_mem_test.py
+++ b/configs/example/ruby_mem_test.py
@@ -47,7 +47,7 @@ config_root = os.path.dirname(config_path)
parser = optparse.OptionParser()
Options.addCommonOptions(parser)
-parser.add_option("-l", "--maxloads", metavar="N", default=0,
+parser.add_option("--maxloads", metavar="N", default=0,
help="Stop after N loads")
parser.add_option("--progress", type="int", default=1000,
metavar="NLOADS",
diff --git a/configs/example/ruby_random_test.py b/configs/example/ruby_random_test.py
index 7a8af8b5e..24c172b28 100644
--- a/configs/example/ruby_random_test.py
+++ b/configs/example/ruby_random_test.py
@@ -48,8 +48,8 @@ m5_root = os.path.dirname(config_root)
parser = optparse.OptionParser()
Options.addCommonOptions(parser)
-parser.add_option("-l", "--checks", metavar="N", default=100,
- help="Stop after N checks (loads)")
+parser.add_option("--maxloads", metavar="N", default=100,
+ help="Stop after N loads")
parser.add_option("-f", "--wakeup_freq", metavar="N", default=10,
help="Wakeup every N cycles")
@@ -89,7 +89,7 @@ if buildEnv['PROTOCOL'] == 'MOESI_hammer':
check_flush = True
tester = RubyTester(check_flush = check_flush,
- checks_to_complete = options.checks,
+ checks_to_complete = options.maxloads,
wakeup_frequency = options.wakeup_freq)
#