mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 12:13:02 +01:00
pybootchartgui: render memory pressure as well
* memory pressure is already collected in buildstats, render it as well when available (From OE-Core rev: 42010d0812246a418f30b4f1d9fbd3f374a3bbe9) Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
096f688ec0
commit
6e756b150a
@@ -53,6 +53,14 @@ class IOPressureSample:
|
||||
self.avg300 = avg300
|
||||
self.deltaTotal = deltaTotal
|
||||
|
||||
class MemPressureSample:
|
||||
def __init__(self, time, avg10, avg60, avg300, deltaTotal):
|
||||
self.time = time
|
||||
self.avg10 = avg10
|
||||
self.avg60 = avg60
|
||||
self.avg300 = avg300
|
||||
self.deltaTotal = deltaTotal
|
||||
|
||||
|
||||
class MemSample:
|
||||
used_values = ('MemTotal', 'MemFree', 'Buffers', 'Cached', 'SwapTotal', 'SwapFree',)
|
||||
|
||||
Reference in New Issue
Block a user