config: ruby_random_test: updates due to recent unrelated changes
authorNilay Vaish <nilay@cs.wisc.edu>
Fri, 21 Feb 2014 14:02:06 +0000 (08:02 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Fri, 21 Feb 2014 14:02:06 +0000 (08:02 -0600)
configs/example/ruby_mem_test.py
configs/example/ruby_random_test.py

index 7848a867294cf0340e58e3325a1d0c6b2eecbc71..064140064f80e9fe073802efb01da61d0b70f656 100644 (file)
@@ -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",
index 7a8af8b5e8ab8f6e0fc236ed73b23d72cdf7055c..24c172b28a6551900753d2f34bf681525889c609 100644 (file)
@@ -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)
 
 #