mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
pybootchartgui: simplify drawing of memory usage
The internal representation after parsing now matches exactly what the drawing code needs, thus speeding up drawing a bit. However, the main motivation is to store exactly that required information in a more compact file. (From OE-Core rev: ca06e67a0bb5820b38fda4c8dfee20764c1e59ae) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6b5037bf2c
commit
820c042b36
@@ -503,7 +503,7 @@ def _parse_proc_meminfo_log(file):
|
||||
sample.add_value(match.group(1), int(match.group(2)))
|
||||
|
||||
if sample.valid():
|
||||
mem_stats.append(sample)
|
||||
mem_stats.append(DrawMemSample(sample))
|
||||
|
||||
return mem_stats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user