Searched refs:num_threads_ (Results 1 – 5 of 5) sorted by relevance
59 num_threads_(FLAGS_threads), in SharedState()89 return num_initialized_ >= num_threads_; in AllInitialized()93 return num_done_ >= num_threads_; in AllDone()108 const uint64_t num_threads_; member in ROCKSDB_NAMESPACE::__anonccaf61260111::SharedState129 CacheBench() : num_threads_(FLAGS_threads) { in CacheBench()160 std::vector<ThreadState*> threads(num_threads_); in Run()161 for (uint32_t i = 0; i < num_threads_; i++) { in Run()194 uint32_t num_threads_; member in ROCKSDB_NAMESPACE::CacheBench
45 num_threads_(FLAGS_threads), in SharedState()186 uint32_t GetNumThreads() const { return num_threads_; } in GetNumThreads()194 void IncVotedReopen() { vote_reopen_ = (vote_reopen_ + 1) % num_threads_; } in IncVotedReopen()196 bool AllInitialized() const { return num_initialized_ >= num_threads_; } in AllInitialized()198 bool AllOperated() const { return num_populated_ >= num_threads_; } in AllOperated()200 bool AllDone() const { return num_done_ >= num_threads_; } in AllDone()337 const int num_threads_; variable
412 num_threads_(num_threads) {} in Benchmark()416 std::cout << "Number of threads: " << num_threads_ << std::endl; in Run()458 const uint32_t num_threads_; member in ROCKSDB_NAMESPACE::Benchmark
527 int num_threads_; variable
2941 num_threads_(1) {2944 num_threads_ = std::stoi(itr->second);3009 backup_options.max_background_operations = num_threads_; in DoCommand()3048 opts.max_background_operations = num_threads_; in DoCommand()