Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 25 of 26) sorted by relevance

12

/rocksdb-6.9/tools/advisor/advisor/
Ddb_stats_fetcher.py194 def _get_ods_cli_stime(start_time): argument
195 diff = int(time.time() - int(start_time))
200 self, client, entities, start_time, end_time, key_prefix=None argument
205 self.start_time = start_time
266 self._get_string_in_quotes(self.start_time),
276 '--stime=' + self._get_ods_cli_stime(self.start_time) + ' ' +
320 self._get_string_in_quotes(self.start_time),
328 '--stime=' + self._get_ods_cli_stime(self.start_time) + ' ' +
/rocksdb-6.9/monitoring/
Dpersistent_stats_history.cc96 uint64_t start_time) { in parseKey() argument
107 if (parsed_time < start_time) { in parseKey()
121 void PersistentStatsHistoryIterator::AdvanceIteratorByTime(uint64_t start_time, in AdvanceIteratorByTime() argument
131 static_cast<int>(std::max(time_, start_time))); in AdvanceIteratorByTime()
142 time_ = parseKey(iter->key(), start_time).first; in AdvanceIteratorByTime()
154 kv = parseKey(iter->key(), start_time); in AdvanceIteratorByTime()
Din_memory_stats_history.h29 InMemoryStatsHistoryIterator(uint64_t start_time, uint64_t end_time, in InMemoryStatsHistoryIterator() argument
31 : start_time_(start_time), in InMemoryStatsHistoryIterator()
63 void AdvanceIteratorByTime(uint64_t start_time, uint64_t end_time);
Dpersistent_stats_history.h43 PersistentStatsHistoryIterator(uint64_t start_time, uint64_t end_time, in PersistentStatsHistoryIterator() argument
46 start_time_(start_time), in PersistentStatsHistoryIterator()
64 void AdvanceIteratorByTime(uint64_t start_time, uint64_t end_time);
Din_memory_stats_history.cc38 void InMemoryStatsHistoryIterator::AdvanceIteratorByTime(uint64_t start_time, in AdvanceIteratorByTime() argument
43 db_impl_->FindStatsByTime(start_time, end_time, &time_, &stats_map_); in AdvanceIteratorByTime()
Dthread_status_updater.cc102 void ThreadStatusUpdater::SetOperationStartTime(const uint64_t start_time) { in SetOperationStartTime() argument
107 data->op_start_time.store(start_time, std::memory_order_relaxed); in SetOperationStartTime()
Dthread_status_updater.h136 void SetOperationStartTime(const uint64_t start_time);
/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_trace_analyzer.cc413 uint64_t start_time = port::kMaxUint64; in WriteMissRatioTimeline() local
422 start_time = std::min(start_time, time); in WriteMissRatioTimeline()
445 start_time = std::min(start_time, time); in WriteMissRatioTimeline()
499 start_time = std::min(start_time, time); in WriteMissTimeline()
515 start_time = std::min(start_time, time); in WriteMissTimeline()
879 start_time = std::min(start_time, timestamp); in WriteAccessTimeline()
1215 for (uint64_t start_time = 0; start_time < reuse_vector_size; start_time++) { in WriteBlockReuseTimeline() local
1243 for (uint64_t start_time = 0; start_time < reuse_vector_size; start_time++) { in WriteBlockReuseTimeline() local
1248 for (uint64_t start_time = 0; start_time < reuse_vector_size; start_time++) { in WriteBlockReuseTimeline() local
1252 if (j < start_time) { in WriteBlockReuseTimeline()
[all …]
Dblock_cache_pysim.py1678 start_time = time.time()
1726 if now - start_time > time_interval * 10:
1730 now - start_time,
1733 access_seq_no / (now - start_time),
1754 start_time = time.time()
1822 if now - start_time > time_interval * 10:
1827 now - start_time,
1830 access_seq_no / (now - start_time),
1847 now - start_time,
1850 access_seq_no / (now - start_time),
Dblock_cache_trace_analyzer_test.cc556 bool start_time = false; in TEST_F() local
561 if (!start_time) { in TEST_F()
562 start_time = true; in TEST_F()
/rocksdb-6.9/table/
Dtable_reader_bench.cc171 uint64_t start_time = Now(env, measured_by_nanosecond); in TableReaderBenchmark() local
185 hist.Add(Now(env, measured_by_nanosecond) - start_time); in TableReaderBenchmark()
199 uint64_t start_time = Now(env, measured_by_nanosecond); in TableReaderBenchmark() local
217 total_time += Now(env, measured_by_nanosecond) - start_time; in TableReaderBenchmark()
220 start_time = Now(env, measured_by_nanosecond); in TableReaderBenchmark()
232 total_time += Now(env, measured_by_nanosecond) - start_time; in TableReaderBenchmark()
/rocksdb-6.9/util/
Dautovector_test.cc224 auto start_time = env->NowNanos(); in BenchmarkVectorCreationAndInsertion() local
232 auto elapsed = env->NowNanos() - start_time; in BenchmarkVectorCreationAndInsertion()
247 auto start_time = env->NowNanos(); in BenchmarkSequenceAccess() local
255 auto elapsed = env->NowNanos() - start_time; in BenchmarkSequenceAccess()
Dlog_write_bench.cc51 uint64_t start_time = env->NowMicros(); in RunBenchmark() local
66 (i + 1) * FLAGS_record_interval - (env->NowMicros() - start_time); in RunBenchmark()
Dstop_watch.h73 uint64_t start_time() const { return start_time_; } in start_time() function
/rocksdb-6.9/file/
Ddelete_scheduler.cc204 uint64_t start_time = env_->NowMicros(); in BackgroundEmptyTrash() local
211 start_time = env_->NowMicros(); in BackgroundEmptyTrash()
242 while (!closing_ && !cv_.TimedWait(start_time + total_penlty)) {} in BackgroundEmptyTrash()
/rocksdb-6.9/cache/
Dcache_bench.cc171 uint64_t start_time = env->NowMicros(); in Run() local
184 double elapsed = static_cast<double>(end_time - start_time) * 1e-6; in Run()
/rocksdb-6.9/build_tools/
Dprecommit_checker.py149 start_time = time.time()
152 elapsed_min = (time.time() - start_time) / 60
Dgnu_parallel3944 my $start_time = time;
7728 my $start_time = time;
7753 $start_time + $opt::timeout > time) {
/rocksdb-6.9/utilities/transactions/
Dtransaction_lock_mgr.cc322 uint64_t start_time = env->NowMicros(); in AcquireWithTimeout() local
323 end_time = start_time + timeout; in AcquireWithTimeout()
/rocksdb-6.9/table/cuckoo/
Dcuckoo_table_reader_test.cc510 uint64_t start_time = env->NowMicros(); in ReadKeys() local
527 float time_per_op = (env->NowMicros() - start_time) * 1.0f / num; in ReadKeys()
/rocksdb-6.9/trace_replay/
Dblock_cache_tracer.h164 uint64_t start_time; member
Dblock_cache_tracer.cc174 header->start_time = trace.ts; in ReadHeader()
/rocksdb-6.9/db/db_impl/
Ddb_impl.cc784 bool DBImpl::FindStatsByTime(uint64_t start_time, uint64_t end_time, in FindStatsByTime() argument
793 auto it = stats_history_.lower_bound(start_time); in FindStatsByTime()
806 uint64_t start_time, uint64_t end_time, in GetStatsHistory() argument
813 new PersistentStatsHistoryIterator(start_time, end_time, this)); in GetStatsHistory()
816 new InMemoryStatsHistoryIterator(start_time, end_time, this)); in GetStatsHistory()
Ddb_impl.h360 uint64_t start_time, uint64_t end_time,
855 bool FindStatsByTime(uint64_t start_time, uint64_t end_time,
/rocksdb-6.9/db/
Ddb_test.cc1023 uint64_t start_time, uint64_t end_time) { in CheckColumnFamilyMeta() argument
1065 ASSERT_GE(file_meta_from_cf.file_creation_time, start_time); in CheckColumnFamilyMeta()
1067 ASSERT_GE(file_meta_from_cf.oldest_ancester_time, start_time); in CheckColumnFamilyMeta()
1125 uint64_t start_time = static_cast<uint64_t>(temp_time); in TEST_F() local
1158 CheckColumnFamilyMeta(cf_meta, files_by_level, start_time, end_time); in TEST_F()

12