google / benchmark

A microbenchmark support library
Apache License 2.0
8.61k stars 1.57k forks source link

benchmark.cc: Fix benchmarks_with_threads condition #1651

Closed jmr closed 10 months ago

jmr commented 10 months ago

Change condition for benchmarks_with_threads from benchmark.threads() > 0 to > 1. threads() appears to always be >= 1.

Introduced in fbc6efa (Refactoring of PerfCounters infrastructure (#1559))

jmr commented 10 months ago

@HFTrader

dmah42 commented 10 months ago

thank you!