summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-10-09 17:28:14 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-10-09 17:28:14 -0500
commitdbc3b2e86a388dd11b9b4b7195dc5c30cee99c78 (patch)
tree799308fba31b133a216edce9bf62172c286dfebd /configs/common
parenta44bb59192a31dcdd4cbc1215757137eb1ed3a45 (diff)
downloadgem5-dbc3b2e86a388dd11b9b4b7195dc5c30cee99c78.tar.xz
config: correct example ruby scripts
A couple of recent changesets added/deleted/edited some variables that are needed for running the example ruby scripts. This changeset edits these scripts to bring them to a working state.
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/Options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/common/Options.py b/configs/common/Options.py
index 6431d460f..cb9fc4988 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -115,7 +115,7 @@ def addCommonOptions(parser):
parser.add_option("--ruby", action="store_true")
# Run duration options
- parser.add_option("-m", "--abs-max-tick", type="int", default=None,
+ parser.add_option("-m", "--abs-max-tick", type="int", default=m5.MaxTick,
metavar="TICKS", help="Run to absolute simulated tick " \
"specified including ticks from a restored checkpoint")
parser.add_option("--rel-max-tick", type="int", default=None,