]> code.ossystems Code Review - openembedded-core.git/commit
pybootchartgui: split the output chart into multiple ones
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 6 Jun 2012 06:10:11 +0000 (14:10 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2012 14:09:16 +0000 (15:09 +0100)
commit04a34899e1c15a70babd97a3a59ccb9f8af05bad
tree91c91ce05a1ba8e98cf9f047ddc66e4fb2757afe
parent6ea0c02d0db08f6b4570769c6811ecdb051646ad
pybootchartgui: split the output chart into multiple ones

Split the output chart into multiple ones to make it more readable, it
only works with "-o path", which means that it doesn't work if the user
doesn't want to save the chart to the disk. For example:

$ ./pybootchartgui.py /path/to/tmp/buildstats/core-image-sato-qemux86/201205301810/ -f svg -s 5 -o /tmp/
bootchart written to /tmp/bootchart_1.svg
bootchart written to /tmp/bootchart_2.svg
bootchart written to /tmp/bootchart_3.svg
bootchart written to /tmp/bootchart_4.svg
bootchart written to /tmp/bootchart_5.svg

[YOCTO #2403]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
scripts/pybootchartgui/pybootchartgui/main.py
scripts/pybootchartgui/pybootchartgui/parsing.py