]> code.ossystems Code Review - openembedded-core.git/commit
pybootchartgui: render disk space usage
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 30 Nov 2016 09:50:08 +0000 (10:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Dec 2016 10:36:11 +0000 (10:36 +0000)
commit263d189d066b578debf08b2bd07494a69b70f70d
tree1d19b430d7f020df07093a0261772fbd63e24ade
parentddfea21e06a2e6b1a1e766969f8c134a6de7388a
pybootchartgui: render disk space usage

This adds a new, separate chart showing the amount of disk space used
over time for each volume monitored during the build. The hight of the
graph entries represents the delta between current usage and minimal
usage during the build.

That's more useful than showing just the current usage, because then a
graph showing changes in the order of MBs in a volume that is several
GB large would be just flat.

The legend shows the maximum of those deltas, i.e. maximum amount of
space needed for the build. Minor caveat: sampling of disk space usage
starts a bit later than the initial task, so the displayed value may
be slightly lower than the actual amount of space needed because
sampling does not record the actual initial state.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/pybootchartgui/pybootchartgui/draw.py
scripts/pybootchartgui/pybootchartgui/parsing.py
scripts/pybootchartgui/pybootchartgui/samples.py