Add number of threads to State.
Having access to the thread count from within a benchmark is useful, for when one wants to distribute a workload dynamically among the benchmarks running in parallel e.g when using ThreadRange() or ThreadPerCpu().
Loading
Please sign in to comment