From 0b45ae5df33e7aea01e04fd7f44afdf253b854c7 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sun, 9 Sep 2012 09:33:45 -0500 Subject: 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. --- configs/common/Options.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configs/common') 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, -- cgit v1.2.3