From 385e542c5af23688c1b9f0bd076b2bb66c7ec6c3 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 21 Feb 2014 08:02:06 -0600 Subject: [PATCH] config: ruby_random_test: updates due to recent unrelated changes --- configs/example/ruby_mem_test.py | 2 +- configs/example/ruby_random_test.py | 6 +++--- 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) # -- 2.30.2