diff options
Diffstat (limited to 'src/python/m5/main.py')
-rw-r--r-- | src/python/m5/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py index e296453db..ccd6c5807 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, @@ -276,6 +278,7 @@ def main(): # set tracing options objects.Trace.flags = options.trace_flags objects.Trace.start = options.trace_start + objects.Trace.cycle = options.trace_cycle objects.Trace.file = options.trace_file objects.Trace.bufsize = options.trace_circlebuf objects.Trace.dump_on_exit = options.trace_dumponexit |