benchmark/docs
Vy Nguyen b5bb9f0675
Add Setup/Teardown option on Benchmark. (#1269)
* Add Setup/Teardown option on Benchmark.

Motivations:
- feature parity with our internal library. (which has ~718 callers)
- more flexible than cordinating setup/teardown inside the benchmark routine.

* change Setup/Teardown callback type to raw function pointers

* add test file to cmake file

* move b.Teardown() up

* add const to param of Setup/Teardown callbacks

* fix  comment and add doc to user_guide

* fix typo

* fix doc, fix test and add bindings to python/benchmark.cc

* fix binding again

* remove explicit C cast - that was wrong

* change policy to reference_internal

* try removing the bindinds ...

* clean up

* add more tests with repetitions and fixtures

* more comments

* init setup/teardown callbacks to NULL

* s/nullptr/NULL

* removed unused var

* change assertion on fixture_interaction::fixture_setup

* move NULL init to .cc file
2021-11-17 16:51:55 +00:00
..
_config.yml Set theme jekyll-theme-minimal 2021-08-18 10:07:38 +01:00
AssemblyTests.md
dependencies.md Update policy to match reality 2021-09-20 10:19:51 +01:00
index.md refactor the documentation to minimise README.md (#1211) 2021-08-17 21:45:33 +01:00
perf_counters.md
platform_specific_build_instructions.md refactor the documentation to minimise README.md (#1211) 2021-08-17 21:45:33 +01:00
random_interleaving.md Random interleaving of benchmark repetitions - the sequel (fixes #1051) (#1163) 2021-06-03 21:16:54 +03:00
releasing.md Fix dependency typo and unpin cibuildwheel version in wheel building … (#1263) 2021-11-11 14:51:22 +00:00
tools.md
user_guide.md Add Setup/Teardown option on Benchmark. (#1269) 2021-11-17 16:51:55 +00:00