Define PERFORMANCE_TEST_FIXTURE_PAUSE_MEASUREMENTS
Defined in File performance_test_fixture.hpp
Define Documentation
-
PERFORMANCE_TEST_FIXTURE_PAUSE_MEASUREMENTS(state, code)
Macro to pause timing and heap allocation measurements over a section of code.
This is useful if there is setup or teardown that has to occur with every iteration. For example, if you wanted to measure only construction of a rclcpp::Node and not its destruction.
state.PauseTiming() does not allocate, so it should go first to minimize discrepencies in measuring timing