History log of /external/google-benchmark/src/mutex.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
332f677b8bec401641a2743ab5d741c13cc6811d 07-Oct-2016 Dominic Hamon <dominichamon@users.noreply.github.com> Apply clang-format to all headers and source (#303)
/external/google-benchmark/src/mutex.h
cba945e37dd8f336c7c8f5367f3c7d9498d5e09b 03-Sep-2016 Eric <eric@efcs.ca> Make `PauseTiming()` and `ResumeTiming()` per thread. (#286)

* Change to using per-thread timers

* fix bad assertions

* fix copy paste error on windows

* Fix thread safety annotations

* Make null-log thread safe

* remove remaining globals

* use chrono for walltime since it is thread safe

* consolidate timer functions

* Add missing ctime include

* Rename to be consistent with Google style

* Format patch using clang-format

* cleanup -Wthread-safety configuration

* Don't trust _POSIX_FEATURE macros because OS X lies.

* Fix OS X thread timings

* attempt to fix mingw build

* Attempt to make mingw work again

* Revert old mingw workaround

* improve diagnostics

* Drastically improve OS X measurements

* Use average real time instead of max
/external/google-benchmark/src/mutex.h
7a767012f1c423b37069f6d315b97164b5850271 12-Mar-2015 Eric Fiselier <eric@efcs.ca> Adopt new benchmark timing internals.

This patch adopts a new internal structure for how timings are performed.
Currently every iteration of a benchmark checks to see if it has been running
for an appropriate amount of time. Checking the clock introduces noise into
the timings and this can cause inconsistent output from each benchmark.

Now every iteration of a benchmark only checks an iteration count to see if it
should stop running. The iteration count is determined before hand by testing
the benchmark on a series of increasing iteration counts until a suitable count
is found. This increases the amount of time it takes to run the actual benchmarks
but it also greatly increases the accuracy of the results.

This patch introduces some breaking changes. The notable breaking changes are:
1. Benchmarks run on multiple threads no generate a report per thread. Instead
only a single report is generated.
2. ::benchmark::UseRealTime() was removed and replaced with State::UseRealTime().
/external/google-benchmark/src/mutex.h