summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-10-02 12:04:24 -0400
committerKevin Lim <ktlim@umich.edu>2006-10-02 12:04:24 -0400
commite08aa72b3d74dcccee6b9648c546df19d6c3cdd3 (patch)
treea511e6be65991c6f57d70ad4b640f580dd5d42cc /src
parent568fa11084413913c2917bb2981d22db5bb2f495 (diff)
downloadgem5-e08aa72b3d74dcccee6b9648c546df19d6c3cdd3.tar.xz
Add in ability to start a trace at a specific cycle.
--HG-- extra : convert_revision : 54098f3974d2a05d60e57113f7ceb46cb7a26672
Diffstat (limited to 'src')
-rw-r--r--src/python/m5/main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index e296453db..e93ef3a36 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -144,6 +144,8 @@ add_option("--trace-flags", metavar="FLAG[,FLAG]", action='append', split=',',
help="Sets the flags for tracing")
add_option("--trace-start", metavar="TIME", default='0s',
help="Start tracing at TIME (must have units)")
+add_option("--trace-cycle", metavar="CYCLE", default='0',
+ help="Start tracing at CYCLE")
add_option("--trace-file", metavar="FILE", default="cout",
help="Sets the output file for tracing [Default: %default]")
add_option("--trace-circlebuf", metavar="SIZE", type="int", default=0,