From 6f9ad931cc1c63da925b6372513282d2aa8dc84c Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 12 Sep 2007 15:24:24 -0400 Subject: [PATCH] Checkpointing: Force drain/resume when switching a CPU --HG-- extra : convert_revision : 7d9c3f4c8c357e3a9214deba5df3581beeaf7cb6 --- configs/common/Simulation.py | 2 ++ 1 file changed, 2 insertions(+) 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 = ''