mirror of
https://github.com/google/benchmark.git
synced 2025-04-29 22:40:33 +08:00
README.md: complexity lambda takes int64_t arg. Fixes #719
This commit is contained in:
parent
c9f2693ea9
commit
19f7d5c2bc
@ -255,7 +255,7 @@ that might be used to customize high-order term calculation.
|
||||
|
||||
```c++
|
||||
BENCHMARK(BM_StringCompare)->RangeMultiplier(2)
|
||||
->Range(1<<10, 1<<18)->Complexity([](int n)->double{return n; });
|
||||
->Range(1<<10, 1<<18)->Complexity([](int64_t n)->double{return n; });
|
||||
```
|
||||
|
||||
### Templated benchmarks
|
||||
|
Loading…
Reference in New Issue
Block a user