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 import BPConfig |
67from common.Caches import * 68from common import Options 69 70def cmd_line_template(): 71 if options.command_line and options.command_line_file: 72 print("Error: --command-line and --command-line-file are " 73 "mutually exclusive") 74 sys.exit(1) --- 120 unchanged lines hidden (view full) --- 195 if np > 1: 196 fatal("SimPoint generation not supported with more than one CPUs") 197 198 for i in xrange(np): 199 if options.simpoint_profile: 200 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval) 201 if options.checker: 202 test_sys.cpu[i].addCheckerCpu() |
203 if options.bp_type: 204 bpClass = BPConfig.get(options.bp_type) 205 test_sys.cpu[i].branchPred = bpClass() |
206 test_sys.cpu[i].createThreads() 207 208 # If elastic tracing is enabled when not restoring from checkpoint and 209 # when not fast forwarding using the atomic cpu, then check that the 210 # TestCPUClass is DerivO3CPU or inherits from DerivO3CPU. If the check 211 # passes then attach the elastic trace probe. 212 # If restoring from checkpoint or fast forwarding, the code that does this for 213 # FutureCPUClass is in the Simulation module. If the check passes then the --- 171 unchanged lines hidden --- |