summaryrefslogtreecommitdiffstats
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:44:56 +0000
commitb0281b3a190dec6502b4abc6a5b14ae46243f913 (patch)
treeffdb558622493bae5fe307affb6921e64ac83a52 /scripts/pybootchartgui/pybootchartgui/main.py.in
parent8c26891e1dc59ad9efd876794b9eac79e393845b (diff)
downloadpoky-b0281b3a190dec6502b4abc6a5b14ae46243f913.tar.gz
pybootchartgui: Add option --minutes to show time in minutes
(From OE-Core rev: b93eefd039a956b7d1d184592dd4342eb43f9341) 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():
40 help="split the output chart into <NUM> charts, only works with \"-o PATH\"") 40 help="split the output chart into <NUM> charts, only works with \"-o PATH\"")
41 parser.add_option("-m", "--mintime", dest="mintime", type=int, default=8, 41 parser.add_option("-m", "--mintime", dest="mintime", type=int, default=8,
42 help="only tasks longer than this time will be displayed") 42 help="only tasks longer than this time will be displayed")
43 parser.add_option("-M", "--minutes", action="store_true", dest="as_minutes", default=False,
44 help="display time in minutes instead of seconds")
43# parser.add_option("-n", "--no-prune", action="store_false", dest="prune", default=True, 45# parser.add_option("-n", "--no-prune", action="store_false", dest="prune", default=True,
44# help="do not prune the process tree") 46# help="do not prune the process tree")
45 parser.add_option("-q", "--quiet", action="store_true", dest="quiet", default=False, 47 parser.add_option("-q", "--quiet", action="store_true", dest="quiet", default=False,