| /rocksdb-6.9/tools/ |
| D | trace_analyzer_tool.cc | 529 stat.second.a_key_id = 0; in MakeStatistics() 532 stat.second.a_key_id++; in MakeStatistics() 1024 auto found = stat.a_key_stats.find(stat.time_series.front().key); in ReProcessing() 1084 if (stat.w_key_f) { in ReProcessing() 1085 if (stat.a_key_stats.find(input_key) != stat.a_key_stats.end()) { in ReProcessing() 1785 if (stat.a_count > 0) { in PrintStatistics() 1787 (static_cast<double>(stat.a_key_size_sum)) / stat.a_count; in PrintStatistics() 1789 (static_cast<double>(stat.a_value_size_sum)) / stat.a_count; in PrintStatistics() 1794 (static_cast<double>(stat.a_value_size_sqsum)) / stat.a_count - in PrintStatistics() 1798 stat.a_value_mid = 0; in PrintStatistics() [all …]
|
| D | report_lite_binary_size.sh | 27 binary_size=$(stat -c %s librocksdb.a)
|
| /rocksdb-6.9/tools/advisor/advisor/ |
| D | db_timeseries_parser.py | 98 for stat in statistics: 99 if stat not in self.keys_ts[entity]: 103 latest_timestamp = max(list(self.keys_ts[entity][stat].keys())) 104 agg_val = self.keys_ts[entity][stat][latest_timestamp] 107 agg_val = self.keys_ts[entity][stat][oldest_timestamp] 109 agg_val = max(list(self.keys_ts[entity][stat].values())) 111 agg_val = min(list(self.keys_ts[entity][stat].values())) 113 values = list(self.keys_ts[entity][stat].values()) 115 result[stat] = agg_val 132 for stat in complete_keys: [all …]
|
| D | db_stats_fetcher.py | 88 for stat in stats_on_line: 89 if stat in reqd_stats: 90 if stat not in self.keys_ts[NO_ENTITY]: 91 self.keys_ts[NO_ENTITY][stat] = {} 92 self.keys_ts[NO_ENTITY][stat][log_ts] = stats_on_line[stat] 143 for stat in self.keys_ts[NO_ENTITY]: 150 epoch_ts[NO_ENTITY][stat][ts] = ( 151 epoch_ts[NO_ENTITY][stat][ts] - 152 epoch_ts[NO_ENTITY][stat][timeseries[ix+1]] 154 if epoch_ts[NO_ENTITY][stat][ts] < 0: [all …]
|
| D | db_bench_runner.py | 105 for stat in perf_context.keys(): 106 perf_context_ts[stat] = { 107 timestamp: int(perf_context[stat])
|
| /rocksdb-6.9/utilities/persistent_cache/ |
| D | volatile_tier_impl.cc | 22 std::map<std::string, double> stat; in Stats() local 23 stat.insert({"persistent_cache.volatile_cache.hits", in Stats() 25 stat.insert({"persistent_cache.volatile_cache.misses", in Stats() 27 stat.insert({"persistent_cache.volatile_cache.inserts", in Stats() 29 stat.insert({"persistent_cache.volatile_cache.evicts", in Stats() 31 stat.insert({"persistent_cache.volatile_cache.hit_pct", in Stats() 33 stat.insert({"persistent_cache.volatile_cache.miss_pct", in Stats() 37 out.push_back(stat); in Stats()
|
| D | persistent_cache_tier.cc | 88 for (auto stat : tier_stats) { in PrintStats() local 89 os << stat.first << ": " << stat.second << std::endl; in PrintStats()
|
| /rocksdb-6.9/monitoring/ |
| D | stats_history_test.cc | 357 for (auto& stat : stats_map) { in TEST_F() local 358 if (stat.second != 0) { in TEST_F() 377 for (auto& stat : stats_map) { in TEST_F() local 378 if (stat.second != 0) { in TEST_F() 440 for (const auto& stat : stats_map) { in TEST_F() local 442 recovered_value += stat.second; in TEST_F() 456 for (const auto& stat : stats_map) { in TEST_F() local 502 for (const auto& stat : stats_map) { in TEST_F() local 504 num_write_wal += stat.second; in TEST_F() 539 for (const auto& stat : stats_map) { in TEST_F() local [all …]
|
| /rocksdb-6.9/build_tools/ |
| D | rocksdb-lego-determinator | 894 send_size_to_ods static_lib $(stat --printf="%s" librocksdb.a) 896 send_size_to_ods static_lib_stripped $(stat --printf="%s" librocksdb.a) 899 send_size_to_ods shared_lib $(stat --printf="%s" `readlink -f librocksdb.so`) 901 send_size_to_ods shared_lib_stripped $(stat --printf="%s" `readlink -f librocksdb.so`) 906 send_size_to_ods static_lib_lite $(stat --printf="%s" librocksdb.a) 908 send_size_to_ods static_lib_lite_stripped $(stat --printf="%s" librocksdb.a) 911 send_size_to_ods shared_lib_lite $(stat --printf="%s" `readlink -f librocksdb.so`) 913 send_size_to_ods shared_lib_lite_stripped $(stat --printf="%s" `readlink -f librocksdb.so`)
|
| /rocksdb-6.9/env/ |
| D | fs_posix.cc | 671 struct stat sbuf; in GetFileSize() 672 if (stat(fname.c_str(), &sbuf) != 0) { in GetFileSize() 685 struct stat s; in GetFileModificationTime() 686 if (stat(fname.c_str(), &s) != 0) { in GetFileModificationTime() 718 struct stat s; in NumFileLinks() 719 if (stat(fname.c_str(), &s) != 0) { in NumFileLinks() 729 struct stat statbuf[2]; in AreFilesSame() 730 if (stat(first.c_str(), &statbuf[0]) != 0) { in AreFilesSame() 733 if (stat(second.c_str(), &statbuf[1]) != 0) { in AreFilesSame() 916 struct stat statbuf; in DirExists() [all …]
|
| D | io_posix.cc | 331 struct stat buf; in GetUniqueIdFromFile() 360 struct stat buf; in GetUniqueIdFromFile() 470 struct stat buf; in GetLogicalBlockSizeOfFd() 1222 struct stat file_stats; in Close()
|
| D | env_test.cc | 183 struct stat sb; in TEST_F() 185 if (::stat(filename.c_str(), &sb) == 0) { in TEST_F() 198 if (::stat(filename.c_str(), &sb) == 0) { in TEST_F() 987 struct stat f_stat; in TEST_P() 988 ASSERT_EQ(stat(fname.c_str(), &f_stat), 0); in TEST_P() 1001 stat(fname.c_str(), &f_stat); in TEST_P()
|
| /rocksdb-6.9/table/ |
| D | multiget_context.h | 36 PinnableSlice* val, std::string* ts, Status* stat) in KeyContext() 40 s(stat), in KeyContext()
|
| /rocksdb-6.9/docs/_posts/ |
| D | 2018-02-05-rocksdb-5-10-2-released.markdown | 14 * Add a DB stat, `NUMBER_ITER_SKIP`, which returns how many internal keys were skipped during itera…
|
| D | 2015-11-16-analysis-file-read-latency-by-level.markdown | 215 …hat the count is around 7 billion when I have only inserted 1 billion hashes ? is the stat broken ?
|
| /rocksdb-6.9/db/ |
| D | corruption_test.cc | 161 struct stat sbuf; in CorruptFile() 162 if (stat(fname.c_str(), &sbuf) != 0) { in CorruptFile()
|
| D | db_wal_test.cc | 25 struct stat sbuf; in GetAllocatedFileSize() 26 int err = stat(file_name.c_str(), &sbuf); in GetAllocatedFileSize()
|
| /rocksdb-6.9/utilities/ |
| D | env_librados.cc | 305 int ret = _io_ctx->stat(_fid, &_file_size, nullptr); in LibradosWritableFile() 1298 int ret = _GetIoctx(fpath)->stat(fid, file_size, &mtime); in GetFileSize() 1342 int ret = _GetIoctx(fpath)->stat(fid, &file_size, &mtime); in GetFileModificationTime()
|
| /rocksdb-6.9/db/db_impl/ |
| D | db_impl.cc | 714 for (const auto& stat : stats_map) { in PersistStats() local 717 EncodePersistentStatsKey(now_seconds, stat.first, 100, key); in PersistStats() 719 if (stats_slice_.find(stat.first) != stats_slice_.end()) { in PersistStats() 720 uint64_t delta = stat.second - stats_slice_[stat.first]; in PersistStats() 749 for (const auto& stat : stats_map) { in PersistStats() local 750 if (stats_slice_.find(stat.first) != stats_slice_.end()) { in PersistStats() 751 stats_delta[stat.first] = stat.second - stats_slice_[stat.first]; in PersistStats()
|
| /rocksdb-6.9/table/block_based/ |
| D | block_based_table_builder.cc | 666 Status stat = UncompressBlockContentsForCompressionType( in WriteBlock() local 670 if (stat.ok()) { in WriteBlock()
|
| /rocksdb-6.9/CMakeFiles/rocksdb.dir/utilities/cassandra/ |
| D | format.cc.o.d | 263 /usr/include/c++/v1/__bsd_locale_defaults.h /usr/include/sys/stat.h \
|
| D | merge_operator.cc.o.d | 260 /usr/include/c++/v1/__bsd_locale_defaults.h /usr/include/sys/stat.h \
|
| D | cassandra_compaction_filter.cc.o.d | 262 /usr/include/c++/v1/__bsd_locale_defaults.h /usr/include/sys/stat.h \
|
| /rocksdb-6.9/CMakeFiles/rocksdb-shared.dir/utilities/cassandra/ |
| D | format.cc.o.d | 263 /usr/include/c++/v1/__bsd_locale_defaults.h /usr/include/sys/stat.h \
|
| D | merge_operator.cc.o.d | 260 /usr/include/c++/v1/__bsd_locale_defaults.h /usr/include/sys/stat.h \
|