commit | 4499e8e415092221febfd3309d5ceae9acc014a0 | [log] [tgz] |
---|---|---|
author | Dominic Hamon <dominichamon@users.noreply.github.com> | Thu Nov 05 09:53:08 2015 -0800 |
committer | Dominic Hamon <dominichamon@users.noreply.github.com> | Thu Nov 05 09:53:08 2015 -0800 |
tree | 07ce1e20784a8afc929972ce62fda629852ca381 | |
parent | 7c8d8c9dd7effb19337277320c3cd0491317d95b [diff] |
Fixes #161
diff --git a/README.md b/README.md index 6268dea..83d1b81 100644 --- a/README.md +++ b/README.md
@@ -165,6 +165,7 @@ } } BENCHMARK(BM_MultiThreaded)->Threads(2); +``` To prevent a value or expression from being optimized away by the compiler the `benchmark::DoNotOptimize(...)` function can be used.