diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2006-10-30 14:12:15 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2006-10-30 14:12:15 -0500 |
commit | 883f0394f5eefea6fb541229564dcb8543d020fd (patch) | |
tree | 508043cf8942febb1e94a50e3458841c8c38c10f /configs/common/Simulation.py | |
parent | 9be53b10b302a3b8ca8fcaa38bf318aa4dcc641c (diff) | |
download | gem5-883f0394f5eefea6fb541229564dcb8543d020fd.tar.xz |
decouple the switch option from the warmup period option - parsing was confused otherwise, oops.
--HG--
extra : convert_revision : 951fc664c59363df5f5e026aa791d83c26f050ec
Diffstat (limited to 'configs/common/Simulation.py')
-rw-r--r-- | configs/common/Simulation.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index 59cf32303..899a291fc 100644 --- a/configs/common/Simulation.py +++ b/configs/common/Simulation.py @@ -116,7 +116,7 @@ def run(options, root, testsys): m5.switchCpus(switch_cpu_list) m5.resume(testsys) - exit_event = m5.simulate(options.standard_switch) + exit_event = m5.simulate(options.warmup) m5.switchCpus(switch_cpu_list1) num_checkpoints = 0 @@ -130,7 +130,6 @@ def run(options, root, testsys): when = int(when) period = int(period) - print "when is ", when, " period is ", period exit_event = m5.simulate(when) while exit_event.getCause() == "checkpoint": exit_event = m5.simulate(when - m5.curTick()) |