summaryrefslogtreecommitdiff
path: root/configs/common/Options.py
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:20 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:20 -0800
commitdc758641c938bb3941bfc1751dc8c3781d99b441 (patch)
treecdd4f9dfe8948e1e444d50b83cdf110d49b60b2a /configs/common/Options.py
parente735ca7c7705c53c3a862931beb150fdf2a776d3 (diff)
downloadgem5-dc758641c938bb3941bfc1751dc8c3781d99b441.tar.xz
ruby: reorganized ruby python configuration
Reorganized ruby python configuration so that protocol and ruby memory system configuration code can be shared by multiple front-end configuration files (i.e. memory tester, full system, and hopefully the regression tester). This code works for memory tester, but have not tested fs mode.
Diffstat (limited to 'configs/common/Options.py')
-rw-r--r--configs/common/Options.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/common/Options.py b/configs/common/Options.py
index abc26f1b5..d38943644 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -36,7 +36,9 @@ parser.add_option("--l2cache", action="store_true")
parser.add_option("--fastmem", action="store_true")
# Run duration options
-parser.add_option("-m", "--maxtick", type="int")
+parser.add_option("-m", "--maxtick", type="int", default=m5.MaxTick,
+ metavar="T",
+ help="Stop after T ticks")
parser.add_option("--maxtime", type="float")
parser.add_option("--maxinsts", type="int")
parser.add_option("--prog_intvl", type="int")