]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
pybootchartgui: render cpu and io pressure
authorAryaman Gupta <aryaman.gupta@windriver.com>
Wed, 22 Jun 2022 19:21:04 +0000 (15:21 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jun 2022 15:15:17 +0000 (16:15 +0100)
commitfb9ff46dc3059cb3f4c8df8e4654184c3eab1571
treeb78ab94c6b261073b2582e7af6e69783d8f498bd
parent061931520b8baa7f3a03bf466aa9ec8bf995bc14
pybootchartgui: render cpu and io pressure

Add two new, separate charts showing the avg10 and delta
total pressure over time for the CPU and IO resources. The height of
the avg10 data in each chart represents the percentage of time "some"
task was delayed over the specific resource during the last 10
seconds of the build. The height of the delta total data in each chart
represents the total time "some" task was delayed since the last sample
was collected. If the reduced_proc_pressure data is not present in the
buildstats log, then the new charts are not shown at all rather than
being present but unpopulated.

Note that the delta total graphs may appear "spikey",
oscillating from high values to low. This behaviour is fixed in a
subsequent commit.

Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/pybootchartgui/pybootchartgui/draw.py
scripts/pybootchartgui/pybootchartgui/parsing.py
scripts/pybootchartgui/pybootchartgui/samples.py