Review Board 2.0.15


Simulation.py: Fix handling of maxtick and take_checkpoints

Review Request #1815 - Created April 7, 2013 and submitted - Latest diff uploaded

Information
Joel Hestness
gem5
default
Reviewers
Default
Changeset 9632:63da4a862efd
---------------------------
Simulation.py: Fix handling of maxtick and take_checkpoints

m5.simulate(num_ticks) will run the simulated system for num_ticks after the
current tick. Fix calls to m5.simulate in scriptCheckpoints() and
benchCheckpoints() to appropriately handle the maxticks variable.
Tested repeated checkpointing and checkpoint restore with maxtick specified