Home
last modified time | relevance | path

Searched refs:kMicrosInSecond (Results 1 – 12 of 12) sorted by relevance

/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_pysim.py16 kMicrosInSecond = 1000000 variable
320 access_time /= kMicrosInSecond * self.time_unit
360 start /= kMicrosInSecond * self.time_unit
361 end /= kMicrosInSecond * self.time_unit
383 start /= kMicrosInSecond * self.time_unit
384 end /= kMicrosInSecond * self.time_unit
420 access_time /= kMicrosInSecond * self.time_unit
434 start /= kMicrosInSecond * self.time_unit
435 end /= kMicrosInSecond * self.time_unit
463 start /= kMicrosInSecond * self.time_unit
[all …]
Dblock_cache_pysim_test.py25 kMicrosInSecond,
299 now = i * kMicrosInSecond
367 now = i * kMicrosInSecond
Dblock_cache_trace_analyzer.cc1090 kMicrosInSecond) / in WriteReuseInterval()
1152 (block.last_access_time - block.first_access_time) / kMicrosInSecond; in WriteReuseLifetime()
1562 access.access_timestamp / kMicrosInSecond; in Analyze()
1564 trace_end_timestamp_in_seconds_ = access.access_timestamp / kMicrosInSecond; in Analyze()
1573 uint64_t duration = (now - start) / kMicrosInSecond; in Analyze()
1587 uint64_t duration = (now - start) / kMicrosInSecond; in Analyze()
Dblock_cache_trace_analyzer.h86 access.access_timestamp / kMicrosInSecond; in AddAccess()
Dblock_cache_trace_analyzer_test.cc100 uint64_t timestamp = (key_id + 1) * kMicrosInSecond; in WriteBlockAccess()
/rocksdb-6.9/utilities/simulator_cache/
Dcache_simulator.cc58 uint64_t timestamp_in_seconds = timestamp_in_ms / kMicrosInSecond; in UpdateMetrics()
258 trace_start_time_ + warmup_seconds_ * kMicrosInSecond <= in Access()
/rocksdb-6.9/file/
Ddelete_scheduler.h139 static const uint64_t kMicrosInSecond = 1000 * 1000LL; variable
Ddelete_scheduler.cc241 ((total_deleted_bytes * kMicrosInSecond) / current_delete_rate); in BackgroundEmptyTrash()
/rocksdb-6.9/trace_replay/
Dblock_cache_tracer.h20 extern const uint64_t kMicrosInSecond;
Dblock_cache_tracer.cc36 const uint64_t kMicrosInSecond = 1000 * 1000; variable
/rocksdb-6.9/db/db_impl/
Ddb_impl.cc653 static_cast<uint64_t>(stats_dump_period_sec) * kMicrosInSecond)); in StartTimedTasks()
661 static_cast<uint64_t>(stats_persist_period_sec) * kMicrosInSecond)); in StartTimedTasks()
690 uint64_t now_seconds = env_->NowMicros() / kMicrosInSecond; in PersistStats()
1053 kMicrosInSecond)); in SetDBOptions()
1069 kMicrosInSecond)); in SetDBOptions()
/rocksdb-6.9/tools/
Ddb_bench_tool.cc1779 (env_->NowMicros() - time_started + kMicrosInSecond / 2) / in SleepAndReport()
1780 kMicrosInSecond; in SleepAndReport()