summaryrefslogtreecommitdiff
path: root/configs/common/Simulation.py
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-05-20 14:49:06 -0400
committerKorey Sewell <ksewell@umich.edu>2011-05-20 14:49:06 -0400
commit9f1b60e05c7991bd5f4aa5abe164f0c2a1c94bbe (patch)
treee731ed69e05f178185dc9f5901e16c1a11b49aec /configs/common/Simulation.py
parent3d06ffa7d5150b777dc4d2109b2d01761ee7a7ad (diff)
downloadgem5-9f1b60e05c7991bd5f4aa5abe164f0c2a1c94bbe.tar.xz
configs: cleanup redundant/unused options
maxinsts & max_inst redundant prog_intvl and profile seem redundant, but profile looks to be unused add -p option for progress intervals
Diffstat (limited to 'configs/common/Simulation.py')
-rw-r--r--configs/common/Simulation.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py
index 9168e1370..1cc2f47b7 100644
--- a/configs/common/Simulation.py
+++ b/configs/common/Simulation.py
@@ -98,7 +98,7 @@ def run(options, root, testsys, cpu_class):
if options.prog_intvl:
for i in xrange(np):
- testsys.cpu[i].progress_interval = options.prog_intvl
+ testsys.cpu[i].progress_interval = options.prog_interval
if options.maxinsts:
for i in xrange(np):
@@ -116,8 +116,8 @@ def run(options, root, testsys, cpu_class):
switch_cpus[i].workload = testsys.cpu[i].workload
switch_cpus[i].clock = testsys.cpu[0].clock
# simulation period
- if options.max_inst:
- switch_cpus[i].max_insts_any_thread = options.max_inst
+ if options.maxinsts:
+ switch_cpus[i].max_insts_any_thread = options.maxinsts
testsys.switch_cpus = switch_cpus
switch_cpu_list = [(testsys.cpu[i], switch_cpus[i]) for i in xrange(np)]
@@ -163,8 +163,8 @@ def run(options, root, testsys, cpu_class):
switch_cpus[i].max_insts_any_thread = options.warmup_insts
# simulation period
- if options.max_inst:
- switch_cpus_1[i].max_insts_any_thread = options.max_inst
+ if options.maxinsts:
+ switch_cpus_1[i].max_insts_any_thread = options.maxinsts
testsys.switch_cpus = switch_cpus
testsys.switch_cpus_1 = switch_cpus_1