1. 29 Aug, 2016 2 commits
    • Fix out-of-bounds std::vector access. · db1af86d
      Eric Fiselier authored
      In the `Ranges(...)` generation code a "control" vector which stores
      the current index for each range passed to `Ranges`. Previously this vector
      was incorrectly initialized to the size of the subranges not the number
      of subranges.
      
      Additionally this patch suppresses unused warnings generated by
      `stream_init_anchor`.
    • Fix std::cout/std::cerr static initialization order fiasco. · cbcd7b65
      Eric Fiselier authored
      The benchmark library internals write to std::cout/std::cerr during program
      startup. This can cause segfaults when the user doesn't include <iostream> in
      the benchmark (which init's the streams). This patch fixes this by emitting
      a dynamic initializer in every TU which initializes the streams.
  2. 28 Aug, 2016 3 commits
  3. 11 Aug, 2016 2 commits
  4. 09 Aug, 2016 5 commits
  5. 08 Aug, 2016 7 commits
  6. 07 Aug, 2016 5 commits
  7. 04 Aug, 2016 1 commit
    • Support multiple ranges in the benchmark (#257) · dfe02607
      Marcin Kolny authored
      * Support multiple ranges in the benchmark
      
      google-benchmark library allows to provide up to two ranges to the
      benchmark method (range_x and range_y). However, in many cases it's not
      sufficient. The patch introduces multi-range features, so user can easily
      define multiple ranges by passing a vector of integers, and access values
      through the method range(i).
      
      * Remove redundant API
      
      Functions State::range_x() and State::range_y() have been removed. They should
      be replaced by State::range(0) and State::range(1).
      Functions Benchmark::ArgPair() and Benchmark::RangePair() have been removed.
      They should be replaced by Benchmark::Args() and Benchmark::Ranges().
  8. 03 Aug, 2016 2 commits
  9. 02 Aug, 2016 3 commits
  10. 25 Jul, 2016 1 commit
  11. 23 Jul, 2016 1 commit
  12. 22 Jul, 2016 5 commits
  13. 13 Jul, 2016 1 commit
  14. 12 Jul, 2016 1 commit
  15. 11 Jul, 2016 1 commit