commit | 4855987e331fc887d80639073adbfc5efc09638d | [log] [tgz] |
---|---|---|
author | Eli Lipsitz <elipsitz@google.com> | Fri Jan 27 16:00:04 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 27 16:00:04 2023 +0000 |
tree | 301886d34fb193cfe2ee123fc1bfc64d44012f63 | |
parent | f4296c1d23525f5c3188da9f30f97b73329222ef [diff] |
pw_build: Fix inaccurate 'num started' display in wrap-ninja This commit fixes an issue where pw-wrap-ninja, when logging actions with --log-actions, would incorrectly display 'batched' "number of events started". That is, ten actions would be printed, all of which would have the same "number started", then it would jump up and more events would be printed. This happened because the UI, which updates every 100ms, would always query the most recent number of events started/finished and print that. This commit addresses the issue by saving the current value of started/finished/total with each event when they occur, so that the UI can accurately print those values. Change-Id: I7c4fe00122e2fa529e64312c41ec2dea7e0b7c18 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126986 Reviewed-by: Rob Mohr <mohrr@google.com> Pigweed-Auto-Submit: Eli Lipsitz <elipsitz@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.