Checkpointing: Force drain/resume when switching a CPU
--HG-- extra : convert_revision : 7d9c3f4c8c357e3a9214deba5df3581beeaf7cb6
This commit is contained in:
parent
5f187e592e
commit
6f9ad931cc
1 changed files with 2 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue