Home
last modified time | relevance | path

Searched refs:num_threads_ (Results 1 – 5 of 5) sorted by relevance

/rocksdb-6.9/cache/
Dcache_bench.cc59 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::SharedState
129 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
/rocksdb-6.9/db_stress_tool/
Ddb_stress_shared_state.h45 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
/rocksdb-6.9/memtable/
Dmemtablerep_bench.cc412 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
/rocksdb-6.9/tools/
Dldb_cmd_impl.h527 int num_threads_; variable
Dldb_cmd.cc2941 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()