Deleted Added
sdiff udiff text old ( 10117:37e333de580f ) new ( 10118:5e1f04b4d5e4 )
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

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

48
49import m5
50from m5.defines import buildEnv
51from m5.objects import *
52from m5.util import addToPath, fatal
53
54addToPath('../common')
55addToPath('../ruby')
56
57import Options
58import Ruby
59import Simulation
60import CacheConfig
61import MemConfig
62from Caches import *
63from cpu2000 import *

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

139 elif buildEnv['TARGET_ISA'] == 'arm':
140 exec("workload = %s('arm_%s', 'linux', '%s')" % (
141 app, options.arm_iset, options.spec_input))
142 else:
143 exec("workload = %s(buildEnv['TARGET_ISA', 'linux', '%s')" % (
144 app, options.spec_input))
145 multiprocesses.append(workload.makeLiveProcess())
146 except:
147 print >>sys.stderr, "Unable to find workload for %s: %s" % (
148 buildEnv['TARGET_ISA'], app)
149 sys.exit(1)
150elif options.cmd:
151 multiprocesses, numThreads = get_processes(options)
152else:
153 print >> sys.stderr, "No workload specified. Exiting!\n"
154 sys.exit(1)
155
156

--- 106 unchanged lines hidden ---