commit | f715cbf01ca08db8a4c94ceed17683967af7e709 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Jan 17 19:45:02 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 17 19:45:02 2023 +0000 |
tree | ad0cba5dd3f1dbb21d15058f3ded237f6527c0df | |
parent | b0098bf10aead951c6c51a51d1d7c52e4cdd71a6 [diff] |
pw_perf_test: Support overloaded functions in the simple macro Switch to using a lambda for the PW_PERF_TEST_SIMPLE macro. That makes it possible for the compiler to disambiguate between overloads of the function under test, since it is called in the lambda. Change-Id: Ifcc33708a1e3a7810ed95ef908991cbe7a94e3eb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/125150 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Erik Gilling <konkers@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@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/.