diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2006-10-30 13:33:38 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2006-10-30 13:33:38 -0500 |
commit | 9be53b10b302a3b8ca8fcaa38bf318aa4dcc641c (patch) | |
tree | 73618710c83112cdf9e8f7b883a4750ae37d537c /configs/common/Simulation.py | |
parent | 628a3b1d01702d1e3888c40c4a02c38c636ae6d4 (diff) | |
parent | b40af2328a254b109a08327475bb8f2aa906399b (diff) | |
download | gem5-9be53b10b302a3b8ca8fcaa38bf318aa4dcc641c.tar.xz |
Merge zizzer:/bk/newmem
into zed.eecs.umich.edu:/z/hsul/work/m5/newmem
--HG--
extra : convert_revision : ce5f394a4a62f7452b9631763425f65b911387bb
Diffstat (limited to 'configs/common/Simulation.py')
-rw-r--r-- | configs/common/Simulation.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index b927315ba..59cf32303 100644 --- a/configs/common/Simulation.py +++ b/configs/common/Simulation.py @@ -116,12 +116,15 @@ def run(options, root, testsys): m5.switchCpus(switch_cpu_list) m5.resume(testsys) - exit_event = m5.simulate(3000000) + exit_event = m5.simulate(options.standard_switch) m5.switchCpus(switch_cpu_list1) num_checkpoints = 0 exit_cause = '' + ## Checkpoints being taken via the command line at <when> and at subsequent + ## periods of <period>. Checkpoint instructions received from the benchmark running + ## are ignored and skipped in favor of command line checkpoint instructions. if options.take_checkpoints: [when, period] = options.take_checkpoints.split(",", 1) when = int(when) |