se.py (12014:f973caaf935d) se.py (12146:bb4ca633cf1f)
1# Copyright (c) 2012-2013 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 77 unchanged lines hidden (view full) ---

86 outputs = options.output.split(';')
87 if options.errout != "":
88 errouts = options.errout.split(';')
89 if options.options != "":
90 pargs = options.options.split(';')
91
92 idx = 0
93 for wrkld in workloads:
1# Copyright (c) 2012-2013 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 77 unchanged lines hidden (view full) ---

86 outputs = options.output.split(';')
87 if options.errout != "":
88 errouts = options.errout.split(';')
89 if options.options != "":
90 pargs = options.options.split(';')
91
92 idx = 0
93 for wrkld in workloads:
94 process = Process()
94 process = Process(pid = 100 + idx)
95 process.executable = wrkld
96 process.cwd = os.getcwd()
97
98 if options.env:
99 with open(options.env, 'r') as f:
100 process.env = [line.rstrip() for line in f]
101
102 if len(pargs) > idx:

--- 185 unchanged lines hidden ---
95 process.executable = wrkld
96 process.cwd = os.getcwd()
97
98 if options.env:
99 with open(options.env, 'r') as f:
100 process.env = [line.rstrip() for line in f]
101
102 if len(pargs) > idx:

--- 185 unchanged lines hidden ---