projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95dddad
)
Checkpoint: Use checkpoint_dir, if that is not set use outdir (-d), and if that isn...
author
Ali Saidi
<saidi@eecs.umich.edu>
Sat, 3 Nov 2007 18:41:00 +0000
(14:41 -0400)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Sat, 3 Nov 2007 18:41:00 +0000
(14:41 -0400)
--HG--
extra : convert_revision :
6548dd6de376dd59285a37a03bcf2525f8fc3845
configs/common/Simulation.py
patch
|
blob
|
history
diff --git
a/configs/common/Simulation.py
b/configs/common/Simulation.py
index 6b585d8c3bc99626b7c94d9320f57f239caf7451..84628b3474844c5b3004905330790b111a27bc91 100644
(file)
--- a/
configs/common/Simulation.py
+++ b/
configs/common/Simulation.py
@@
-72,6
+72,8
@@
def run(options, root, testsys, cpu_class):
if options.checkpoint_dir:
cptdir = options.checkpoint_dir
+ elif m5.options.outdir:
+ cptdir = m5.options.outdir
else:
cptdir = getcwd()