Deleted Added
sdiff udiff text old ( 9907:8bddb3879c16 ) new ( 10037:5cac77888310 )
full compact
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

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

130 apps = options.bench.split("-")
131 if len(apps) != options.num_cpus:
132 print "number of benchmarks not equal to set num_cpus!"
133 sys.exit(1)
134
135 for app in apps:
136 try:
137 if buildEnv['TARGET_ISA'] == 'alpha':
138 exec("workload = %s('alpha', 'tru64', 'ref')" % app)
139 else:
140 exec("workload = %s(buildEnv['TARGET_ISA'], 'linux', 'ref')" % app)
141 multiprocesses.append(workload.makeLiveProcess())
142 except:
143 print >>sys.stderr, "Unable to find workload for %s: %s" % (buildEnv['TARGET_ISA'], app)
144 sys.exit(1)
145elif options.cmd:
146 multiprocesses, numThreads = get_processes(options)
147else:
148 print >> sys.stderr, "No workload specified. Exiting!\n"

--- 110 unchanged lines hidden ---