1. 29 Apr, 2017 13 commits
  2. 28 Apr, 2017 7 commits
  3. 27 Apr, 2017 7 commits
  4. 24 Apr, 2017 1 commit
  5. 21 Apr, 2017 1 commit
  6. 18 Apr, 2017 4 commits
    • fix android compilation (#372) · 09b93ccc
      Dmitry Trifonov authored
      * fix android compilation
      
      * checking __GLIBCXX__ and __GLIBCPP__ macro in addition to __ANDROID__
      
      * using vsnprintf instead of std::vsnprintf to compile on Android
      
      * removed __GLIBCPP__ check on Android
      
      * StringPrintF instead of std::to_string for Android
    • Don't limit benchmarks with manual timers to 5x the elapsed real time. · 46afd8e6
      Eric Fiselier authored
      When using CPU time to determine the correct number of iterations the
      library additionally checks if the benchmark has consumed 5x the minimum
      required time according to the wall clock. This prevents benchmarks
      with low CPU usage from running for much longer than actually intended.
      
      However when a benchmark uses a manual timer this heuristic isn't helpful
      and likely isn't correct since we don't know what the manual timer actually
      measures.
      
      This patch removes the above restriction when a benchmark specifies a manual
      timer.
    • Add Benchmark::Iterations for explicit iteration count control - Fixes #370 (#373) · 74b24058
      Eric authored
      * Add Benchmark::Iterations for explicitly specifying the number of iterations to use.
      
      * Document that benchmark::Iterations should not be used to limit benchmark runtimes
    • Enable <cassert> by removing -DNDEBUG when running the tests. · 7f87c98d
      Eric Fiselier authored
      In non-debug builds CMake automatically adds -DNDEBUG, this means
      that uses of `assert` in the tests are disabled for non-debug builds.
      Obviously we want these tests to run, regardless of configuration.
      
      This patch strips -DNDEBUG during non-debug builds and adds
      -UNDEBUG just to be sure.
  7. 10 Apr, 2017 1 commit
  8. 06 Apr, 2017 1 commit
  9. 04 Apr, 2017 5 commits