diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2006-10-30 13:33:27 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2006-10-30 13:33:27 -0500 |
commit | b40af2328a254b109a08327475bb8f2aa906399b (patch) | |
tree | 9e86048e5dca3d88ea485d816e3efa37d0e4a17d /configs/common/Options.py | |
parent | 2305490de59305b1ed3b0068cc662e752972fb6e (diff) | |
download | gem5-b40af2328a254b109a08327475bb8f2aa906399b.tar.xz |
add some comments and make the warmup period in a switchover parameterizable.
configs/common/Options.py:
make the warmup period in a standard switch part of the option.
configs/common/Simulation.py:
add some comments and also make the warmup period an option.
--HG--
extra : convert_revision : 0fa587291b97ff87c3b3a617e7359ac6d9bed7a5
Diffstat (limited to 'configs/common/Options.py')
-rw-r--r-- | configs/common/Options.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configs/common/Options.py b/configs/common/Options.py index d9c1cc64e..d89023082 100644 --- a/configs/common/Options.py +++ b/configs/common/Options.py @@ -53,5 +53,6 @@ parser.add_option("-r", "--checkpoint_restore", action="store", type="int", # CPU Switching - default switch model goes from a checkpoint # to a timing simple CPU with caches to warm up, then to detailed CPU for # data measurement -parser.add_option("-s", "--standard_switch", action="store_true", - help="switch from one cpu mode to another") +parser.add_option("-s", "--standard_switch", action="store", type="int", + help="switch from timing CPU to Detailed CPU after a period of \ + <N> cycles warmup", default=5000000000) |