From: Kevin Lim Date: Mon, 2 Oct 2006 16:04:24 +0000 (-0400) Subject: Add in ability to start a trace at a specific cycle. X-Git-Tag: m5_2.0_beta2~106^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e08aa72b3d74dcccee6b9648c546df19d6c3cdd3;p=gem5.git Add in ability to start a trace at a specific cycle. --HG-- extra : convert_revision : 54098f3974d2a05d60e57113f7ceb46cb7a26672 --- 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,