summaryrefslogtreecommitdiff
path: root/configs/common/Options.py
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-09-16 09:45:30 -0400
committerKorey Sewell <ksewell@umich.edu>2009-09-16 09:45:30 -0400
commit7858a8e68f9fc8e915c812515f816e8a75921d72 (patch)
tree79a6d7608c6f6559e1ed12051e49f535d51247ea /configs/common/Options.py
parent9b8e61beb38af081454ffd5e06d14458080b98e0 (diff)
downloadgem5-7858a8e68f9fc8e915c812515f816e8a75921d72.tar.xz
configs: add maxinsts option on command line
-option to allow threads to run to a max_inst_any_thread which is more useful/quicker in a lot of cases then always having to figure out what tick to run your simulation to.
Diffstat (limited to 'configs/common/Options.py')
-rw-r--r--configs/common/Options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/common/Options.py b/configs/common/Options.py
index 0ddd2f06d..1da831e1f 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -38,6 +38,7 @@ parser.add_option("--fastmem", action="store_true")
# Run duration options
parser.add_option("-m", "--maxtick", type="int")
parser.add_option("--maxtime", type="float")
+parser.add_option("--maxinsts", type="int")
parser.add_option("--prog_intvl", type="int")