se.py (9756:0b4a08751b42) | se.py (9789:233420718e61) |
---|---|
1# Copyright (c) 2012 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 --- 133 unchanged lines hidden (view full) --- 142elif options.cmd: 143 multiprocesses, numThreads = get_processes(options) 144else: 145 print >> sys.stderr, "No workload specified. Exiting!\n" 146 sys.exit(1) 147 148 149(CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) | 1# Copyright (c) 2012 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 --- 133 unchanged lines hidden (view full) --- 142elif options.cmd: 143 multiprocesses, numThreads = get_processes(options) 144else: 145 print >> sys.stderr, "No workload specified. Exiting!\n" 146 sys.exit(1) 147 148 149(CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) |
150CPUClass.clock = options.clock | 150CPUClass.clock = options.cpu_clock |
151CPUClass.numThreads = numThreads 152 153MemClass = Simulation.setMemClass(options) 154 155# Check -- do not allow SMT with multiple CPUs 156if options.smt and options.num_cpus > 1: 157 fatal("You cannot use SMT with multiple CPUs!") 158 --- 76 unchanged lines hidden --- | 151CPUClass.numThreads = numThreads 152 153MemClass = Simulation.setMemClass(options) 154 155# Check -- do not allow SMT with multiple CPUs 156if options.smt and options.num_cpus > 1: 157 fatal("You cannot use SMT with multiple CPUs!") 158 --- 76 unchanged lines hidden --- |