mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
pybootchartgui: Add option -T to allways use the full time
When --full-time (or -T) is used, the graph allways shows the full time regardless of which processes are currently shown. This is especially useful in combinationm with the -s flag when outputting to multiple files. (From OE-Core rev: c6e88199ddf2c4ae243d42afc403d28ab56f00f0) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
57c93e3507
commit
7b171ed393
@@ -65,6 +65,8 @@ def _mk_options_parser():
|
||||
# "To create a single annotation when any one of a set of processes is started, use commas to separate the names")
|
||||
# parser.add_option("--annotate-file", dest="annotate_file", metavar="FILENAME", default=None,
|
||||
# help="filename to write annotation points to")
|
||||
parser.add_option("-T", "--full-time", action="store_true", dest="full_time", default=False,
|
||||
help="display the full time regardless of which processes are currently shown")
|
||||
return parser
|
||||
|
||||
class Writer:
|
||||
@@ -153,7 +155,7 @@ def main(argv=None):
|
||||
finally:
|
||||
f.close()
|
||||
filename = _get_filename(options.output)
|
||||
res_list = parsing.split_res(res, options.num)
|
||||
res_list = parsing.split_res(res, options)
|
||||
n = 1
|
||||
width = len(str(len(res_list)))
|
||||
s = "_%%0%dd." % width
|
||||
|
||||
Reference in New Issue
Block a user