Unverified Commit ed5764ea by Dominic Hamon Committed by GitHub

Add doc specifying the scope of the timing calculation

Fixes #479
parent 5e66248b
...@@ -40,6 +40,8 @@ BENCHMARK_MAIN(); ...@@ -40,6 +40,8 @@ BENCHMARK_MAIN();
Don't forget to inform your linker to add benchmark library e.g. through `-lbenchmark` compilation flag. Don't forget to inform your linker to add benchmark library e.g. through `-lbenchmark` compilation flag.
The benchmark library will reporting the timing for the code within the `for(...)` loop.
### Passing arguments ### Passing arguments
Sometimes a family of benchmarks can be implemented with just one routine that Sometimes a family of benchmarks can be implemented with just one routine that
takes an extra argument to specify which one of the family of benchmarks to takes an extra argument to specify which one of the family of benchmarks to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment