projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f187e5
)
Checkpointing: Force drain/resume when switching a CPU
author
Ali Saidi
<saidi@eecs.umich.edu>
Wed, 12 Sep 2007 19:24:24 +0000
(15:24 -0400)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Wed, 12 Sep 2007 19:24:24 +0000
(15:24 -0400)
--HG--
extra : convert_revision :
7d9c3f4c8c357e3a9214deba5df3581beeaf7cb6
configs/common/Simulation.py
patch
|
blob
|
history
diff --git
a/configs/common/Simulation.py
b/configs/common/Simulation.py
index 61b14f0266c311534387f2002a25ceb5f600ebeb..53c2956a24eb3420b8700d84c458ef48d4f9b9fa 100644
(file)
--- 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 = ''