From: Ali Saidi Date: Wed, 12 Sep 2007 19:24:24 +0000 (-0400) Subject: Checkpointing: Force drain/resume when switching a CPU X-Git-Tag: m5_2.0_beta4~106^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f9ad931cc1c63da925b6372513282d2aa8dc84c;p=gem5.git Checkpointing: Force drain/resume when switching a CPU --HG-- extra : convert_revision : 7d9c3f4c8c357e3a9214deba5df3581beeaf7cb6 --- diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index 61b14f026..53c2956a2 100644 --- a/configs/common/Simulation.py +++ b/configs/common/Simulation.py @@ -166,7 +166,9 @@ def run(options, root, testsys, cpu_class): if options.standard_switch: exit_event = m5.simulate(options.warmup) + m5.drain(testsys) m5.switchCpus(switch_cpu_list1) + m5.resume(testsys) num_checkpoints = 0 exit_cause = ''