commit | 46ee275dc674c3cb0131e67e3cd42605e5080bc7 | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@pigweed.infra.roller.google.com> | Mon Sep 30 21:31:23 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 30 21:31:23 2024 +0000 |
tree | b2397d1dfe4e5fe5caa4900698e560de53565a8c | |
parent | c2d16625490c5026b2ef7af65b97e345c15bf735 [diff] |
roll: pigweed pw_allocator: Add hooks to test_harness This CL adds hook functions that cna be overridden before and after each call to Allocate, Deallocate, and Reallocate. This allows later CLs to add extra handling to each request, e.g. recording timestamps for benchmarking. It also pulls the PRNG into the test harness, as this simplifies its usage. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/238416 Original-Revision: 1d143bbc5b00ac5f778977493831d34a19a637d4 Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: c25923e13c339c..1d143bbc5b00ac Roller-URL: https://ci.chromium.org/b/8735336261786211121 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Idfb0329b0f929f7d627d0c48b900b1d141ced4f2 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/238824 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit Sense: An interactive tour through Pigweed to get started.