Checkpointing: Force drain/resume when switching a CPU

--HG--
extra : convert_revision : 7d9c3f4c8c357e3a9214deba5df3581beeaf7cb6
This commit is contained in:
Ali Saidi 2007-09-12 15:24:24 -04:00
parent 5f187e592e
commit 6f9ad931cc

View file

@ -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 = ''