Review Board 2.0.15


sim: Remove autoserialize support for exit events

Review Request #3056 - Created Aug. 19, 2015 and submitted

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 11052:3f0470977de4
---------------------------
sim: Remove autoserialize support for exit events

This changeset removes the support for the autoserialize parameter in
GlobalSimLoopExitEvent (including exitSimLoop()) and
LocalSimLoopExitEvent.

Auto-serialization of the LocalSimLoopExitEvent was never used, so
this is not expected to affect anything. However, it was sometimes
used for GlobalSimLoopExitEvent. Unfortunately, serialization of
global events has never been supported, so checkpoints with such
events will currently cause simulation panics.

The serialize parameter to exitSimLoop() has been left in-place to
maintain API compatibility (removing it would affect m5ops). Instead
of just dropping it, we now print a warning if the parameter is set
and the exit event is scheduled in the future (i.e., not at the
current tick).

Regressions pass.

Review request changed
Updated (Sept. 1, 2015, 5:46 a.m.)

Status: Closed (submitted)