From ae6ab7c03ca719b7ab000ee62538fc71dd0cf8df Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 23 Jul 2012 09:32:22 -0400 Subject: 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. --- configs/example/se.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/example/se.py') 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 -- cgit v1.2.3