summaryrefslogtreecommitdiff
path: root/configs/example/se.py
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-07-23 09:32:22 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2012-07-23 09:32:22 -0400
commitae6ab7c03ca719b7ab000ee62538fc71dd0cf8df (patch)
tree699bd6ab9cd4b56345eca567ae0e94fc6060e5e6 /configs/example/se.py
parent66f5124e2b7db64279f894a0694da3c75b9c157c (diff)
downloadgem5-ae6ab7c03ca719b7ab000ee62538fc71dd0cf8df.tar.xz
Config: Use clock option in se/fs script and pass to switch_cpus
This patch changes the se and fs script to use the clock option and not simply set the CPUs clock to 2 GHz. It also makes a minor change to the assignment of the switch_cpus clock to allow different clocks.
Diffstat (limited to 'configs/example/se.py')
-rw-r--r--configs/example/se.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/se.py b/configs/example/se.py
index fa20c37db..009f65055 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -147,7 +147,7 @@ if options.cpu_type == "detailed" or options.cpu_type == "inorder":
numThreads = len(workloads)
(CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options)
-CPUClass.clock = '2GHz'
+CPUClass.clock = options.clock
CPUClass.numThreads = numThreads;
np = options.num_cpus