summaryrefslogtreecommitdiff
path: root/configs/common/Options.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-09-09 09:33:45 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-09-09 09:33:45 -0500
commit0b45ae5df33e7aea01e04fd7f44afdf253b854c7 (patch)
tree9d38fcaf6eb2047eb385101f487d418f11bf8446 /configs/common/Options.py
parentd4a6d9846a2c55861a93e78ba4b6d82d14bed9c6 (diff)
downloadgem5-0b45ae5df33e7aea01e04fd7f44afdf253b854c7.tar.xz
se.py: support specifying multiple programs via command line
This patch allows for specifying multiple programs via command line. It also adds an option for specifying whether to use of SMT. But SMT does not work for the o3 cpu as of now.
Diffstat (limited to 'configs/common/Options.py')
-rw-r--r--configs/common/Options.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/common/Options.py b/configs/common/Options.py
index 6f7059f26..8773a75e5 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -56,6 +56,11 @@ def addCommonOptions(parser):
parser.add_option("--l3_assoc", type="int", default=16)
parser.add_option("--cacheline_size", type="int", default=64)
parser.add_option("--ruby", action="store_true")
+ parser.add_option("--smt", action="store_true", default=False,
+ help = """
+ Only used if multiple programs are specified. If true,
+ then the number of threads per cpu is same as the
+ number of programs.""")
# Run duration options
parser.add_option("-m", "--maxtick", type="int", default=m5.MaxTick,