diff -r 3416de2d02de -r fa0acc2ed79e configs/common/Options.py --- a/configs/common/Options.py Mon Apr 16 17:51:26 2012 -0500 +++ b/configs/common/Options.py Mon Apr 16 18:17:34 2012 -0500 @@ -141,6 +141,9 @@ help="Redirect stdout to a file.") parser.add_option("--errout", default="", help="Redirect stderr to a file.") + parser.add_option("--mt", action="store_true", + help="""Flag to specify if the binary specified is a multithreaded + program. Default: multi-program workload""") def addFSOptions(parser): # Simulation options diff -r 3416de2d02de -r fa0acc2ed79e configs/example/se.py --- a/configs/example/se.py Mon Apr 16 17:51:26 2012 -0500 +++ b/configs/example/se.py Mon Apr 16 18:17:34 2012 -0500 @@ -160,7 +160,10 @@ fatal("You cannot use fastmem in combination with caches!") for i in xrange(np): - system.cpu[i].workload = multiprocesses[i] + if options.mt: + system.cpu[i].workload = multiprocesses[0] + else: + system.cpu[i].workload = multiprocesses[i] if options.fastmem: system.cpu[0].fastmem = True