Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 16 of 16) sorted by relevance

/rocksdb-6.9/util/
Ddynamic_bloom_test.cc200 uint64_t elapsed = timer.ElapsedNanos(); in TEST_F() local
202 static_cast<double>(elapsed) / num_keys); in TEST_F()
212 elapsed = timer.ElapsedNanos(); in TEST_F()
215 static_cast<double>(elapsed) / count); in TEST_F()
237 std::atomic<uint64_t> elapsed(0); in TEST_F() local
246 elapsed += timer.ElapsedNanos(); in TEST_F()
261 elapsed = 0; in TEST_F()
270 elapsed += timer.ElapsedNanos(); in TEST_F()
285 elapsed = 0; in TEST_F()
297 elapsed += timer.ElapsedNanos(); in TEST_F()
[all …]
Dstop_watch.h18 uint64_t* elapsed = nullptr, bool overwrite = true,
23 elapsed_(elapsed), in env_()
32 start_time_((stats_enabled_ || elapsed != nullptr) ? env->NowMicros() in env_()
102 auto elapsed = now - start_; variable
106 return elapsed;
Dautovector_test.cc232 auto elapsed = env->NowNanos() - start_time; in BenchmarkVectorCreationAndInsertion() local
235 << "total time elapsed: " << elapsed << " (ns)" << endl; in BenchmarkVectorCreationAndInsertion()
255 auto elapsed = env->NowNanos() - start_time; in BenchmarkSequenceAccess() local
258 << "total time elapsed: " << elapsed << " (ns)" << endl; in BenchmarkSequenceAccess()
Drate_limiter_test.cc109 auto elapsed = env->NowMicros() - start; in TEST_F() local
112 1000000.0 / elapsed; in TEST_F()
118 elapsed / 1000000.0); in TEST_F()
/rocksdb-6.9/file/
Drandom_access_file_reader.cc29 uint64_t elapsed = 0; in Read() local
32 (stats_ != nullptr) ? &elapsed : nullptr, true /*overwrite*/, in Read()
151 file_read_hist_->Add(elapsed); in Read()
195 uint64_t elapsed = 0; in MultiRead() local
198 (stats_ != nullptr) ? &elapsed : nullptr, true /*overwrite*/, in MultiRead()
287 file_read_hist_->Add(elapsed); in MultiRead()
/rocksdb-6.9/db_stress_tool/
Ddb_stress_stat.h177 double elapsed = (finish_ - start_) * 1e-6; in Report() local
179 double rate = bytes_mb / elapsed; in Report()
180 double throughput = (double)done_ / elapsed; in Report()
/rocksdb-6.9/cache/
Dcache_bench.cc184 double elapsed = static_cast<double>(end_time - start_time) * 1e-6; in Run() local
186 static_cast<double>(FLAGS_threads * FLAGS_ops_per_thread) / elapsed); in Run()
187 fprintf(stdout, "Complete in %.3f s; QPS = %u\n", elapsed, qps); in Run()
/rocksdb-6.9/db/
Dforward_iterator_bench.cc284 double elapsed = in run() local
295 w, (w - wlast) / elapsed, r, (r - rlast) / elapsed, in run()
Dperf_context_test.cc186 uint64_t elapsed = 0; in TEST_F() local
189 StopWatch timer(Env::Default(), nullptr, 0, &elapsed); in TEST_F()
191 timing = elapsed; in TEST_F()
Dinternal_stats.cc93 double elapsed = (stats.micros + 1) / kMicrosInSec; in PrepareLevelStats() local
107 (*level_stats)[LevelStatType::READ_MBPS] = bytes_read / kMB / elapsed; in PrepareLevelStats()
109 stats.bytes_written / kMB / elapsed; in PrepareLevelStats()
Ddb_test.cc3696 uint64_t elapsed = env_->NowMicros() - start; in TEST_F() local
3697 double raw_rate = env_->bytes_written_ * 1000000.0 / elapsed; in TEST_F()
3718 elapsed = env_->NowMicros() - start; in TEST_F()
3724 ASSERT_LE(rate_limiter_drains, elapsed / 100000 + 1); in TEST_F()
3725 double ratio = env_->bytes_written_ * 1000000 / elapsed / raw_rate; in TEST_F()
3741 elapsed = env_->NowMicros() - start; in TEST_F()
3749 ASSERT_GT(rate_limiter_drains, elapsed / 100000 / 2); in TEST_F()
3750 ASSERT_LE(rate_limiter_drains, elapsed / 100000 + 1); in TEST_F()
3751 ratio = env_->bytes_written_ * 1000000 / elapsed / raw_rate; in TEST_F()
/rocksdb-6.9/docs/_posts/
D2015-10-27-getthreadlist.markdown10 …rrently running compactions and flushes such as the input / output size, elapsed time, the number …
177 // The elapsed time in micros of the current thread operation.
/rocksdb-6.9/java/benchmark/src/main/java/org/rocksdb/benchmark/
DDbBenchmark.java147 double elapsed = (finish_ - start_) * 1e-9; in report() local
148 extra.append(String.format("%6.1f MB/s", (bytes_ / 1048576.0) / elapsed)); in report()
151 double elapsed = (finish_ - start_); in report() local
152 double throughput = (double) done_ / (elapsed * 1e-9); in report()
155 name, (elapsed * 1e-6) / done_, in report()
/rocksdb-6.9/tools/
Ddb_bench_tool.cc2094 double elapsed = (finish_ - start_) * 1e-6; in Report() local
2097 (bytes_ / 1048576.0) / elapsed); in Report()
2101 double elapsed = (finish_ - start_) * 1e-6; in Report() local
2102 double throughput = (double)done_/elapsed; in Report()
2141 double elapsed; in AddStats() local
2147 elapsed = (stat.finish_ - stat.start_) * 1e-6; in AddStats()
2148 throughput_ops_.emplace_back(total_ops / elapsed); in AddStats()
2152 throughput_mbs_.emplace_back(mbs / elapsed); in AddStats()
/rocksdb-6.9/
DHISTORY.md930 - The elapsed time in micros since the current thread operation started.
/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest.h20385 void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; }