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 --- 199 unchanged lines hidden (view full) --- 208 system.kvm_vm = KvmVM() 209 for process in multiprocesses: 210 process.useArchPT = True 211 process.kvmInSE = True 212 else: 213 fatal("KvmCPU can only be used in SE mode with x86") 214 215# Sanity check |
216if options.simpoint_profile: |
217 if not CpuConfig.is_atomic_cpu(TestCPUClass): 218 fatal("SimPoint/BPProbe should be done with an atomic cpu") |
219 if np > 1: 220 fatal("SimPoint generation not supported with more than one CPUs") 221 222for i in xrange(np): 223 if options.smt: 224 system.cpu[i].workload = multiprocesses 225 elif len(multiprocesses) == 1: 226 system.cpu[i].workload = multiprocesses[0] 227 else: 228 system.cpu[i].workload = multiprocesses[i] 229 |
230 if options.simpoint_profile: 231 system.cpu[i].addSimPointProbe(options.simpoint_interval) 232 233 if options.checker: 234 system.cpu[i].addCheckerCpu() 235 236 system.cpu[i].createThreads() 237 --- 32 unchanged lines hidden --- |