diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-07-23 09:32:22 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-07-23 09:32:22 -0400 |
commit | ae6ab7c03ca719b7ab000ee62538fc71dd0cf8df (patch) | |
tree | 699bd6ab9cd4b56345eca567ae0e94fc6060e5e6 /configs/example/fs.py | |
parent | 66f5124e2b7db64279f894a0694da3c75b9c157c (diff) | |
download | gem5-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/fs.py')
-rw-r--r-- | configs/example/fs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index a6d4869f3..b0eb2f1ae 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -74,8 +74,8 @@ drive_mem_mode = 'atomic' # system under test can be any CPU (TestCPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) -TestCPUClass.clock = '2GHz' -DriveCPUClass.clock = '2GHz' +TestCPUClass.clock = options.clock +DriveCPUClass.clock = options.clock if options.benchmark: try: |