commit | 020780642847dba69a9b2025f1f698fe3d8e4801 | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@google.com> | Tue Oct 01 17:38:48 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 01 17:38:48 2024 +0000 |
tree | 77b3f60eddf28f2a22cb2b0234b41ca8174b30b6 | |
parent | 39f64a722bd24730d936d9360f232a90d699f8a3 [diff] |
pw_allocator: Add MeasureFragmentation This CL provides an implementation of the algorithm to calculate a fragmentation metric that was only previously described. This typically shouldn't be invoked on device unless there is robust floating point support. Adding this method allows platforms that do have floating support to avoid implementing it themselves, as well as providing it for host tasks like benchmarking. Change-Id: I250c0c7a4523217af6828cb980bfca23c403fc9f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/238417 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Docs-Not-Needed: Aaron Green <aarongreen@google.com> Commit-Queue: Aaron Green <aarongreen@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/.