diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-05 16:01:38 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-05 16:01:38 -0400 |
commit | ec72f6534c2bb6aada305815fb306680508d7a7c (patch) | |
tree | 1886edde38b2da28cb45f4e13135b1993502f45d /configs/test/test.py | |
parent | c33b5b3fc469e8f4885254122e60d781dcb11687 (diff) | |
parent | 4201ec84b2dd7d96148bf661124dd7b5d0e7204b (diff) | |
download | gem5-ec72f6534c2bb6aada305815fb306680508d7a7c.tar.xz |
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem
--HG--
extra : convert_revision : f5b6daa2d512f38153246fc9a39cc6560d939ebc
Diffstat (limited to 'configs/test/test.py')
-rw-r--r-- | configs/test/test.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configs/test/test.py b/configs/test/test.py index 3095cd1d1..625304a08 100644 --- a/configs/test/test.py +++ b/configs/test/test.py @@ -51,6 +51,25 @@ if options.timing and options.detailed: if options.timing: cpu = TimingSimpleCPU() elif options.detailed: + #check for SMT workload + workloads = options.cmd.split(';') + if len(workloads) > 1: + process = [] + smt_idx = 0 + inputs = [] + + if options.input != "": + inputs = options.input.split(';') + + for wrkld in workloads: + smt_process = LiveProcess() + smt_process.executable = os.path.join(this_dir, wrkld) + smt_process.cmd = wrkld + " " + options.options + if inputs and inputs[smt_idx]: + smt_process.input = inputs[smt_idx] + process += [smt_process, ] + smt_idx += 1 + cpu = DetailedO3CPU() else: cpu = AtomicSimpleCPU() |