1. 01 Jun, 2021 1 commit
  2. 18 May, 2021 2 commits
  3. 17 May, 2021 15 commits
  4. 11 May, 2021 1 commit
    • Support -Wsuggest-override (#1059) · 7d0d9061
      Guillaume Chatelet authored
      * Support -Wsuggest-override
      
      google/benchmark is C++11 compatible but doesn't use the `override` keyword.
      Projects using google/benchmark with enabled `-Wsuggest-override` and `-Werror` will fail to compile.
      
      * Add -Wsuggest-override cxx flag
      
      * Revert unrelated formatting
      
      * Revert unrelated formatting, take 2
      
      * Revert unrelated formatting, take 3
      
      * Disable -Wsuggest-override when compiling tests, gtest does not handle it yet
      Co-authored-by: 's avatarDominic Hamon <dominichamon@users.noreply.github.com>
  5. 10 May, 2021 2 commits
  6. 07 May, 2021 4 commits
    • remove done TODOs · 0852c79f
      Dominic Hamon authored
    • add g++-6 to ubuntu-14.04 (#1144) · 551a21ba
      Dominic Hamon authored
      * add g++-6 to ubuntu-14.04
      
      * fix syntax
      
      * fix yamllint errors for build-and-test
      
      * fix 'add-apt-repository' command not found
      
      * make 'run tests' explicit
      
      * enable testing and run both release and debug
      
      * oops
    • Add ubuntu-14.04 build and test workflow (#1131) · a53b8853
      Dominic Hamon authored
      * Add ubuntu-14.04 build and test workflow
      
      * avoid '.' in job name
      
      * no need for fail fast
      
      * fix workflow syntax
      
      * install some stuff
      
      * better compiler installations
      
      * update before install
      
      * just say yes
      
      * trying to match up some paths
      
      * Difference between runner and github context in container?
      
      * Try some judicious logging
      
      * cmake 3.5+ required
      
      * specific compiler versions
      
      * need git for googletest
      
      * Disable testing on old compilers
      
      * disable testing properly
  7. 06 May, 2021 3 commits
  8. 05 May, 2021 1 commit
  9. 04 May, 2021 1 commit
  10. 30 Apr, 2021 1 commit
    • Add multiple compiler support to build-and-test workflow (#1128) · ba9a763d
      Dominic Hamon authored
      * Add 32-bit build support to build-and-test
      
      * attempt different yaml multiline string format
      
      * syntax fixes to yaml
      
      * switch to getting alternative compilers working
      
      * remove done TODO
      
      * trying to separate out windows
      
      * oops, typo.
      
      * add TODOs for missing builds wrt travis
  11. 28 Apr, 2021 2 commits
    • enable markdown rendering on github pages · 64cb55e9
      Dominic Hamon authored
    • Support optional, user-directed collection of performance counters (#1114) · 376ebc26
      Mircea Trofin authored
      * Support optional, user-directed collection of performance counters
      
      The patch allows an engineer wishing to drill into the root causes
      of a regression, for example. Currently, only single threaded runs
      are supported. The feature is a build-time opt in, and then a runtime
      opt in.
      
      The engineer may run the benchmark executable, passing a list of
      performance counter names (using libpfm's naming scheme) at the
      command line. The counter values will then be collected and reported
      back as UserCounters.
      
      This is different from #240 in that it is a benchmark user opt-in, and
      the counter collection is transparent to the benchmark.
      
      Currently, this is only supported on platforms where libpfm is
      supported.
      
      libpfm: http://perfmon2.sourceforge.net/
      
      * 'Use' values param in Snapshot when BENCHMARK_OS_WINDOWS
      
      This is to avoid unused parameter warning-as-error
      
      * Added missing include for <vector> in perf_counters.cc
      
      * Moved doc to docs
      
      * Added license blurbs
  12. 27 Apr, 2021 2 commits
  13. 26 Apr, 2021 2 commits
  14. 24 Apr, 2021 2 commits
  15. 23 Apr, 2021 1 commit
    • [sysinfo] Fix CPU Frequency reading on AMD Ryzen CPU's (#1117) · c05843a9
      Roman Lebedev authored
      Currently, i get:
      ```
      Run on (32 X 7326.56 MHz CPU s)
      CPU Caches:
        L1 Data 32 KiB (x16)
        L1 Instruction 32 KiB (x16)
        L2 Unified 512 KiB (x16)
        L3 Unified 32768 KiB (x2)
      ```
      which seems mostly right, except that the frequency is rather bogus.
      Yes, i guess the CPU could theoretically achieve that,
      but i have 3.6GHz configured, and scaling disabled.
      So we clearly read the wrong thing.
      
      With this fix, i now get the expected
      ```
      Run on (32 X 3598.53 MHz CPU s)
      CPU Caches:
        L1 Data 32 KiB (x16)
        L1 Instruction 32 KiB (x16)
        L2 Unified 512 KiB (x16)
        L3 Unified 32768 KiB (x2)
      ```