summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-03-27 18:23:21 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-03-27 18:23:21 -0500
commit6ca3af8ecfa5e6fbc03b01c0eba3de9d6e2f7c45 (patch)
tree1b506a2bc6dbb1bd08410947ce45073fbab7c7c0 /configs/example
parent9d7c715c46f8af4f1c44eada2b7dcb23c55ade3b (diff)
downloadgem5-6ca3af8ecfa5e6fbc03b01c0eba3de9d6e2f7c45.tar.xz
Config: Move setWorkCountOptions() to Simulation.py
The function is presently defined in FSConfig.py, which does not seem to be the correct place for it.
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/fs.py4
-rw-r--r--configs/example/ruby_fs.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 98e5147fc..8b27f25c1 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -133,12 +133,12 @@ elif buildEnv['TARGET_ISA'] == "sparc":
test_sys = makeSparcSystem(test_mem_mode, bm[0])
elif buildEnv['TARGET_ISA'] == "x86":
test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0])
- setWorkCountOptions(test_sys, options)
+ Simulation.setWorkCountOptions(test_sys, options)
elif buildEnv['TARGET_ISA'] == "arm":
test_sys = makeArmSystem(test_mem_mode,
options.machine_type, bm[0],
bare_metal=options.bare_metal)
- setWorkCountOptions(test_sys, options)
+ Simulation.setWorkCountOptions(test_sys, options)
else:
fatal("incapable of building non-alpha or non-sparc full system!")
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py
index 8de05897e..ac7587bf5 100644
--- a/configs/example/ruby_fs.py
+++ b/configs/example/ruby_fs.py
@@ -106,7 +106,7 @@ if buildEnv['TARGET_ISA'] == "alpha":
system = makeLinuxAlphaRubySystem(test_mem_mode, bm[0])
elif buildEnv['TARGET_ISA'] == "x86":
system = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0], True)
- setWorkCountOptions(system, options)
+ Simulation.setWorkCountOptions(system, options)
else:
fatal("incapable of building non-alpha or non-x86 full system!")