summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/Simulation.py2
1 files changed, 2 insertions, 0 deletions
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 = ''