aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui/pybootchartgui/main.py.in
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2013-11-15 18:09:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-18 12:43:38 +0000
commitb93eefd039a956b7d1d184592dd4342eb43f9341 (patch)
tree433679a47819deccebec0ffa9f4bfc427e903af0 /scripts/pybootchartgui/pybootchartgui/main.py.in
parent2cec29b47a1de5da712cf4e2c6e25daf45d9f265 (diff)
downloadopenembedded-core-contrib-b93eefd039a956b7d1d184592dd4342eb43f9341.tar.gz
pybootchartgui: Add option --minutes to show time in minutes
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui/main.py.in')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/main.py.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/main.py.in b/scripts/pybootchartgui/pybootchartgui/main.py.in
index 1d70271f72..cc9c40b178 100644
--- a/scripts/pybootchartgui/pybootchartgui/main.py.in
+++ b/scripts/pybootchartgui/pybootchartgui/main.py.in
@@ -40,6 +40,8 @@ def _mk_options_parser():
help="split the output chart into <NUM> charts, only works with \"-o PATH\"")
parser.add_option("-m", "--mintime", dest="mintime", type=int, default=8,
help="only tasks longer than this time will be displayed")
+ parser.add_option("-M", "--minutes", action="store_true", dest="as_minutes", default=False,
+ help="display time in minutes instead of seconds")
# parser.add_option("-n", "--no-prune", action="store_false", dest="prune", default=True,
# help="do not prune the process tree")
parser.add_option("-q", "--quiet", action="store_true", dest="quiet", default=False,