fs.py (13864:815193aa6617) | fs.py (13958:1945df12e5b0) |
---|---|
1# Copyright (c) 2010-2013, 2016, 2019 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 --- 192 unchanged lines hidden (view full) --- 201 for i in range(np): 202 if options.simpoint_profile: 203 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval) 204 if options.checker: 205 test_sys.cpu[i].addCheckerCpu() 206 if options.bp_type: 207 bpClass = BPConfig.get(options.bp_type) 208 test_sys.cpu[i].branchPred = bpClass() | 1# Copyright (c) 2010-2013, 2016, 2019 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 --- 192 unchanged lines hidden (view full) --- 201 for i in range(np): 202 if options.simpoint_profile: 203 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval) 204 if options.checker: 205 test_sys.cpu[i].addCheckerCpu() 206 if options.bp_type: 207 bpClass = BPConfig.get(options.bp_type) 208 test_sys.cpu[i].branchPred = bpClass() |
209 if options.indirect_bp_type: 210 IndirectBPClass = \ 211 BPConfig.get_indirect(options.indirect_bp_type) 212 test_sys.cpu[i].branchPred.indirectBranchPred = \ 213 IndirectBPClass() |
|
209 test_sys.cpu[i].createThreads() 210 211 # If elastic tracing is enabled when not restoring from checkpoint and 212 # when not fast forwarding using the atomic cpu, then check that the 213 # TestCPUClass is DerivO3CPU or inherits from DerivO3CPU. If the check 214 # passes then attach the elastic trace probe. 215 # If restoring from checkpoint or fast forwarding, the code that does this for 216 # FutureCPUClass is in the Simulation module. If the check passes then the --- 161 unchanged lines hidden --- | 214 test_sys.cpu[i].createThreads() 215 216 # If elastic tracing is enabled when not restoring from checkpoint and 217 # when not fast forwarding using the atomic cpu, then check that the 218 # TestCPUClass is DerivO3CPU or inherits from DerivO3CPU. If the check 219 # passes then attach the elastic trace probe. 220 # If restoring from checkpoint or fast forwarding, the code that does this for 221 # FutureCPUClass is in the Simulation module. If the check passes then the --- 161 unchanged lines hidden --- |