summaryrefslogtreecommitdiff
path: root/configs/common/Options.py
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 13:55:58 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 13:55:58 -0800
commit70a261c0ae297749f9bb10e4c5fbcf3562f423bf (patch)
tree893be6b5f772a80f45b9788086786e5dd34a09ef /configs/common/Options.py
parentb5d2052fa0b7c62372e1b936f2654f700e831b68 (diff)
downloadgem5-70a261c0ae297749f9bb10e4c5fbcf3562f423bf.tar.xz
m5: Added option to take a checkpoint at the end of simulation
Diffstat (limited to 'configs/common/Options.py')
-rw-r--r--configs/common/Options.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/common/Options.py b/configs/common/Options.py
index 2d4aedcae..abc26f1b5 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -53,6 +53,9 @@ parser.add_option("--checkpoint-dir", action="store", type="string",
help="Place all checkpoints in this absolute directory")
parser.add_option("-r", "--checkpoint-restore", action="store", type="int",
help="restore from checkpoint <N>")
+parser.add_option("--checkpoint-at-end", action="store_true",
+ help="take a checkpoint at end of run")
+
# CPU Switching - default switch model goes from a checkpoint
# to a timing simple CPU with caches to warm up, then to detailed CPU for