Changes in V3: - In V2, it was assumed that heartbeat events arrived once per second but on the Autobuilder, the BB_HEARTBEAT_EVENT is set to 60 seconds. Hence, revert the requirement to restrict sampling only to heartbeat events.
- Make sample return a bool indicating that a new sample was collected, and that the datastore should be updated. - Expand and explain why min_seconds has a tolerance of 0.01 seconds. While any testing is useful, it would be better if this change was tested along with a patch that caused rebuilds to occur. Regards, Aryaman Gupta (3): buildstats.py: enable collection of /proc/pressure data pybootchartgui: render cpu and io pressure buildstats.bbclass: correct sampling of system stats meta/classes/buildstats.bbclass | 3 +- meta/lib/buildstats.py | 80 ++++++++++++++---- scripts/pybootchartgui/pybootchartgui/draw.py | 77 ++++++++++++++++++ .../pybootchartgui/pybootchartgui/parsing.py | 28 +++++++ .../pybootchartgui/pybootchartgui/samples.py | 17 ++++ 5 files changed, 190 insertions(+), 15 deletions(-) -- 2.35.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#167252): https://lists.openembedded.org/g/openembedded-core/message/167252 Mute This Topic: https://lists.openembedded.org/mt/91929131/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-