With the current interval, the realview(64)-simple-atomic-checkpoint
regressions are not actually checkpointing since they finish boot
(and hit m5 exit) before creating the first checkpoint.
Change-Id: I297864ccb7ec8a818c9eccd94406b69d89d1f8d3
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Richard Cooper <richard.cooper@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27709
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+import functools
+
from m5.objects import *
from arm_generic import *
import checkpoint
mem_class=SimpleMemory,
cpu_class=AtomicSimpleCPU).create_root()
-run_test = checkpoint.run_test
+run_test = functools.partial(checkpoint.run_test, interval=0.2)
mem_class=SimpleMemory,
cpu_class=AtomicSimpleCPU).create_root()
-run_test = functools.partial(checkpoint.run_test, interval=1.0)
+run_test = functools.partial(checkpoint.run_test, interval=0.2)