Review Board 2.0.15


config: Initialize and check cpt_starttick

Review Request #1960 - Created Aug. 2, 2013 and submitted - Latest diff uploaded

Information
Joel Hestness
gem5
default
Reviewers
Default
Changeset 9819:e9d4272fb03f
---------------------------
config: Initialize and check cpt_starttick

The previous changeset (9816) that fixes the use of max ticks introduced the
variable cpt_starttick, which is used for setting the relative max tick.
Unfortunately, with checkpointing at an instruction count or with simpoints,
the checkpoint tick is not stored conveniently, so to ensure that cpt_starttick
is initialized, set it to 0. Also, if using --rel-max-tick, check the use of
instruction counts or simpoints to warn the user that the max tick setting does
not include the checkpoint ticks.
Tested that max tick specification works when restoring checkpoints collected
using --at-instruction.