commit | a5052ba92950982cd5b4ed7f1f763716e19a8219 | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@google.com> | Wed Apr 24 00:47:24 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 24 00:47:24 2024 +0000 |
tree | 94f01afcf666de3f635cbc4ae88f6a078b0edaaf | |
parent | 14e0d76298d76908361dfd57a187199ccf6bea78 [diff] |
pw_allocator: Make AllMetrics internal Previously, AllMetrics enabled all available metrics, as the name implies. This has been found to be harmful, as adding metrics can lead to unforeseen increases in code size, memory usage, and/or performance overhead in downstream projects when new metrics are added. As a result, the `AllMetrics` struct has been moved into the `internal` namespace to discourage its use downstream. Instead, projects should explicitly enable the metrics they care about. Change-Id: Idcc873927ad0408558da8a125d87541b3d15d54f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/205737 Commit-Queue: Aaron Green <aarongreen@google.com> Reviewed-by: Taylor Cramer <cramertj@google.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/.