| 27 | namespace cachebench { |
| 28 | namespace { |
| 29 | uint64_t getNumThreads(const StressorConfig& config) { |
| 30 | return config.numThreads > 0 ? config.numThreads |
| 31 | : folly::available_concurrency(); |
| 32 | } |
| 33 | } // namespace |
| 34 | |
| 35 | const uint32_t HighRefcountStressor::kNumThreads; |
no outgoing calls
no test coverage detected