mirror of https://github.com/google/benchmark.git
docs: fix typo (#837)
This commit is contained in:
parent
4abdfbb802
commit
df4f9fe362
|
@ -849,7 +849,7 @@ BENCHMARK(BM_OpenMP)->Range(8, 8<<10)->MeasureProcessCPUTime()->UseRealTime();
|
||||||
Normally, the entire duration of the work loop (`for (auto _ : state) {}`)
|
Normally, the entire duration of the work loop (`for (auto _ : state) {}`)
|
||||||
is measured. But sometimes, it is necessary to do some work inside of
|
is measured. But sometimes, it is necessary to do some work inside of
|
||||||
that loop, every iteration, but without counting that time to the benchmark time.
|
that loop, every iteration, but without counting that time to the benchmark time.
|
||||||
That is possible, althought it is not recommended, since it has high overhead.
|
That is possible, although it is not recommended, since it has high overhead.
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
static void BM_SetInsert_With_Timer_Control(benchmark::State& state) {
|
static void BM_SetInsert_With_Timer_Control(benchmark::State& state) {
|
||||||
|
|
Loading…
Reference in New Issue