roll: pigweed 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.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/238417
Original-Revision: 020780642847dba69a9b2025f1f698fe3d8e4801
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 39f64a722bd247..020780642847db
Roller-URL: https://ci.chromium.org/b/8735259544483010305
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Ic67b39069dd26e0fe0779b12632fb6684d0b7d54
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/238867
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index ba86c41..27af44c 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -49,8 +49,8 @@
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-01.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8735266658009290129.
- commit = "39f64a722bd24730d936d9360f232a90d699f8a3",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8735259544483010305.
+ commit = "020780642847dba69a9b2025f1f698fe3d8e4801",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -58,8 +58,8 @@
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-01.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8735266658009290129.
- commit = "39f64a722bd24730d936d9360f232a90d699f8a3",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8735259544483010305.
+ commit = "020780642847dba69a9b2025f1f698fe3d8e4801",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)