summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
#