- 04 Jun, 2014 5 commits
-
-
Dominic Hamon authored
Two bug fixes in KeepRunning
-
pleroy authored
-
pleroy authored
-
Chris Kennelly authored
-
Pierre Phaneuf authored
-
- 05 May, 2014 6 commits
-
-
Dominic Hamon authored
Resolve race on approx_time_ in FastClock.
-
Dominic Hamon authored
Statically initialize benchmark_mutex and extend its lifetime.
-
Dominic Hamon authored
Resolve benchmark cleanup race condition in issue #20.
-
Chris Kennelly authored
InitType should hold a lock before storing to approx_time_, which is later read by the background worker. When the worker is actively running (i.e., not blocked on bg_cond_) it holds bg_mutex_. InitType is called during benchmark setup only, so any contention induced for the mutex should not have performance/accuracy consequences.
-
Chris Kennelly authored
RunSpecifiedBenchmarks destroys benchmark_mutex before its last usage, typically in RemoveBenchmark during cleanup of the BenchmarkFamilies singleton.
-
Chris Kennelly authored
The multithreaded API for benchmarks provides that teardown can happen in thread 0. For this to be safe, all other threads executing the benchmark function need to have exited. Otherwise, thread 0 may begin to teardown shared resources before the other threads have stopped using these resources as they are in their last loop of while (KeepRunning()) { ... }. This change creates a single exit point for KeepRunning() to return false. When running a multithreaded benchmark, thread 0 blocks on KeepRunning() until all other threads have exited. This approach allows for there to be no change to the user-facing API exemplified in the BM_MultiThreaded example.
-
- 23 Apr, 2014 9 commits
-
-
Dominic Hamon authored
Remove URL_HASH and TLS_VERIFY from CMake configuration.
-
Chris Kennelly authored
Per the CMake 2.8.0 documentation, these options did not exist for ExternalProject_Add. These options were added in CMake 2.8.10.
-
Dominic Hamon authored
Resolve Memory Leaks #17
-
Chris Kennelly authored
This shifts registration from a global vector to a singleton that manages benchmark destruction during shutdown.
-
Chris Kennelly authored
This adds a unit test to validate the wrapper without running the entirety of benchmark_test.
-
Chris Kennelly authored
-
Chris Kennelly authored
-
Chris Kennelly authored
-
Chris Kennelly authored
-
- 17 Apr, 2014 4 commits
-
-
Dominic Hamon authored
Use a new container in each round of push_back test.
-
Shuo Chen authored
-
Shuo Chen authored
-
Shuo Chen authored
Otherwise containers keep growing and uses gigabytes of memory.
-
- 08 Apr, 2014 1 commit
-
-
Dominic Hamon authored
Unable to compile because of unused parameter
-
- 07 Apr, 2014 1 commit
-
-
Arne Beer authored
-
- 06 Apr, 2014 2 commits
- 20 Mar, 2014 1 commit
-
-
Dominic Hamon authored
Fix cycleclock.h for gcc/ARM.
-
- 19 Mar, 2014 1 commit
-
-
Felix Homann authored
-
- 18 Mar, 2014 1 commit
-
-
Felix Homann authored
Currently there are tests for ARMV3 and ARMV6 in cycleclock.h which are not defined using gcc on ARM. Since there is also a cast to the unknown type int64 I assume that the ARM code has not been tested. Therefore this patch replaces the checks for ARMV3 and ARMV6 by checks for __ARM_ARCH. Also, the cast to int64 is fixed by casting to int64_t.
-
- 23 Feb, 2014 2 commits
-
-
Chris Kennelly authored
Ensure families is not nullptr before using it
-
Yusuke Suzuki authored
When there's no benchmarks, families becomes nullptr. So before touching it, we need to ensure families is not nullptr.
-
- 13 Feb, 2014 1 commit
-
-
Pierre Phaneuf authored
-
- 12 Feb, 2014 4 commits
-
-
Pierre Phaneuf authored
-
Dominic Hamon authored
-
Dominic Hamon authored
-
Dominic Hamon authored
Update README.md
-
- 10 Feb, 2014 2 commits
-
-
Pierre Phaneuf authored
-
Pierre Phaneuf authored
Inspired from the one from https://github.com/google/go-github.
-