1# Copyright (c) 2010-2013, 2016 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
--- 49 unchanged lines hidden (view full) ---
58
59from common.FSConfig import *
60from common.SysPaths import *
61from common.Benchmarks import *
62from common import Simulation
63from common import CacheConfig
64from common import MemConfig
65from common import CpuConfig
66from common.Caches import *
67from common import Options
68
69def cmd_line_template():
70 if options.command_line and options.command_line_file:
71 print("Error: --command-line and --command-line-file are "
72 "mutually exclusive")
73 sys.exit(1)
--- 120 unchanged lines hidden (view full) ---
194 if np > 1:
195 fatal("SimPoint generation not supported with more than one CPUs")
196
197 for i in xrange(np):
198 if options.simpoint_profile:
199 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval)
200 if options.checker:
201 test_sys.cpu[i].addCheckerCpu()
202 test_sys.cpu[i].createThreads()
203
204 # If elastic tracing is enabled when not restoring from checkpoint and
205 # when not fast forwarding using the atomic cpu, then check that the
206 # TestCPUClass is DerivO3CPU or inherits from DerivO3CPU. If the check
207 # passes then attach the elastic trace probe.
208 # If restoring from checkpoint or fast forwarding, the code that does this for
209 # FutureCPUClass is in the Simulation module. If the check passes then the
--- 171 unchanged lines hidden ---
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
--- 49 unchanged lines hidden (view full) ---
58
59from common.FSConfig import *
60from common.SysPaths import *
61from common.Benchmarks import *
62from common import Simulation
63from common import CacheConfig
64from common import MemConfig
65from common import CpuConfig
66from common.Caches import *
67from common import Options
68
69def cmd_line_template():
70 if options.command_line and options.command_line_file:
71 print("Error: --command-line and --command-line-file are "
72 "mutually exclusive")
73 sys.exit(1)
--- 120 unchanged lines hidden (view full) ---
194 if np > 1:
195 fatal("SimPoint generation not supported with more than one CPUs")
196
197 for i in xrange(np):
198 if options.simpoint_profile:
199 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval)
200 if options.checker:
201 test_sys.cpu[i].addCheckerCpu()
202 test_sys.cpu[i].createThreads()
203
204 # If elastic tracing is enabled when not restoring from checkpoint and
205 # when not fast forwarding using the atomic cpu, then check that the
206 # TestCPUClass is DerivO3CPU or inherits from DerivO3CPU. If the check
207 # passes then attach the elastic trace probe.
208 # If restoring from checkpoint or fast forwarding, the code that does this for
209 # FutureCPUClass is in the Simulation module. If the check passes then the
--- 171 unchanged lines hidden ---