Lines Matching refs:InternalStats

29 const std::map<LevelStatType, LevelStat> InternalStats::compaction_level_stats =
64 return InternalStats::compaction_level_stats.at(t).header_name.c_str(); in PrintLevelStatsHeader()
89 const InternalStats::CompactionStats& stats) { in PrepareLevelStats()
174 const InternalStats::CompactionStats& stats) { in PrintLevelStats()
352 InternalStats::ppt_name_to_info = {
354 {false, &InternalStats::HandleNumFilesAtLevel, nullptr, nullptr,
357 {false, &InternalStats::HandleCompressionRatioAtLevelPrefix, nullptr,
360 {false, &InternalStats::HandleLevelStats, nullptr, nullptr, nullptr}},
362 {false, &InternalStats::HandleStats, nullptr, nullptr, nullptr}},
364 {false, &InternalStats::HandleCFStats, nullptr,
365 &InternalStats::HandleCFMapStats, nullptr}},
367 {false, &InternalStats::HandleCFStatsNoFileHistogram, nullptr, nullptr,
370 {false, &InternalStats::HandleCFFileHistogram, nullptr, nullptr,
373 {false, &InternalStats::HandleDBStats, nullptr, nullptr, nullptr}},
375 {false, &InternalStats::HandleSsTables, nullptr, nullptr, nullptr}},
377 {false, &InternalStats::HandleAggregatedTableProperties, nullptr,
380 {false, &InternalStats::HandleAggregatedTablePropertiesAtLevel,
383 {false, nullptr, &InternalStats::HandleNumImmutableMemTable, nullptr,
386 {false, nullptr, &InternalStats::HandleNumImmutableMemTableFlushed,
389 {false, nullptr, &InternalStats::HandleMemTableFlushPending, nullptr,
392 {false, nullptr, &InternalStats::HandleCompactionPending, nullptr,
395 {false, nullptr, &InternalStats::HandleBackgroundErrors, nullptr,
398 {false, nullptr, &InternalStats::HandleCurSizeActiveMemTable, nullptr,
401 {false, nullptr, &InternalStats::HandleCurSizeAllMemTables, nullptr,
404 {false, nullptr, &InternalStats::HandleSizeAllMemTables, nullptr,
407 {false, nullptr, &InternalStats::HandleNumEntriesActiveMemTable,
410 {false, nullptr, &InternalStats::HandleNumEntriesImmMemTables, nullptr,
413 {false, nullptr, &InternalStats::HandleNumDeletesActiveMemTable,
416 {false, nullptr, &InternalStats::HandleNumDeletesImmMemTables, nullptr,
419 {false, nullptr, &InternalStats::HandleEstimateNumKeys, nullptr,
422 {true, nullptr, &InternalStats::HandleEstimateTableReadersMem, nullptr,
425 {false, nullptr, &InternalStats::HandleIsFileDeletionsEnabled, nullptr,
428 {false, nullptr, &InternalStats::HandleNumSnapshots, nullptr,
431 {false, nullptr, &InternalStats::HandleOldestSnapshotTime, nullptr,
434 {false, nullptr, &InternalStats::HandleOldestSnapshotSequence, nullptr,
437 {false, nullptr, &InternalStats::HandleNumLiveVersions, nullptr,
440 {false, nullptr, &InternalStats::HandleCurrentSuperVersionNumber,
443 {true, nullptr, &InternalStats::HandleEstimateLiveDataSize, nullptr,
446 {false, nullptr, &InternalStats::HandleMinLogNumberToKeep, nullptr,
449 {false, nullptr, &InternalStats::HandleMinObsoleteSstNumberToKeep,
452 {false, nullptr, &InternalStats::HandleBaseLevel, nullptr, nullptr}},
454 {false, nullptr, &InternalStats::HandleTotalSstFilesSize, nullptr,
457 {false, nullptr, &InternalStats::HandleLiveSstFilesSize, nullptr,
460 {false, nullptr, &InternalStats::HandleEstimatePendingCompactionBytes,
463 {false, nullptr, &InternalStats::HandleNumRunningFlushes, nullptr,
466 {false, nullptr, &InternalStats::HandleNumRunningCompactions, nullptr,
469 {false, nullptr, &InternalStats::HandleActualDelayedWriteRate, nullptr,
472 {false, nullptr, &InternalStats::HandleIsWriteStopped, nullptr,
475 {false, nullptr, &InternalStats::HandleEstimateOldestKeyTime, nullptr,
478 {false, nullptr, &InternalStats::HandleBlockCacheCapacity, nullptr,
481 {false, nullptr, &InternalStats::HandleBlockCacheUsage, nullptr,
484 {false, nullptr, &InternalStats::HandleBlockCachePinnedUsage, nullptr,
493 auto ppt_info_iter = InternalStats::ppt_name_to_info.find(ppt_name); in GetPropertyInfo()
494 if (ppt_info_iter == InternalStats::ppt_name_to_info.end()) { in GetPropertyInfo()
500 bool InternalStats::GetStringProperty(const DBPropertyInfo& property_info, in GetStringProperty()
509 bool InternalStats::GetMapProperty(const DBPropertyInfo& property_info, in GetMapProperty()
517 bool InternalStats::GetIntProperty(const DBPropertyInfo& property_info, in GetIntProperty()
526 bool InternalStats::GetIntPropertyOutOfMutex( in GetIntPropertyOutOfMutex()
534 bool InternalStats::HandleNumFilesAtLevel(std::string* value, Slice suffix) { in HandleNumFilesAtLevel()
549 bool InternalStats::HandleCompressionRatioAtLevelPrefix(std::string* value, in HandleCompressionRatioAtLevelPrefix()
562 bool InternalStats::HandleLevelStats(std::string* value, Slice /*suffix*/) { in HandleLevelStats()
579 bool InternalStats::HandleStats(std::string* value, Slice suffix) { in HandleStats()
589 bool InternalStats::HandleCFMapStats( in HandleCFMapStats()
595 bool InternalStats::HandleCFStats(std::string* value, Slice /*suffix*/) { in HandleCFStats()
600 bool InternalStats::HandleCFStatsNoFileHistogram(std::string* value, in HandleCFStatsNoFileHistogram()
606 bool InternalStats::HandleCFFileHistogram(std::string* value, in HandleCFFileHistogram()
612 bool InternalStats::HandleDBStats(std::string* value, Slice /*suffix*/) { in HandleDBStats()
617 bool InternalStats::HandleSsTables(std::string* value, Slice /*suffix*/) { in HandleSsTables()
623 bool InternalStats::HandleAggregatedTableProperties(std::string* value, in HandleAggregatedTableProperties()
634 bool InternalStats::HandleAggregatedTablePropertiesAtLevel(std::string* value, in HandleAggregatedTablePropertiesAtLevel()
651 bool InternalStats::HandleNumImmutableMemTable(uint64_t* value, DBImpl* /*db*/, in HandleNumImmutableMemTable()
657 bool InternalStats::HandleNumImmutableMemTableFlushed(uint64_t* value, in HandleNumImmutableMemTableFlushed()
664 bool InternalStats::HandleMemTableFlushPending(uint64_t* value, DBImpl* /*db*/, in HandleMemTableFlushPending()
670 bool InternalStats::HandleNumRunningFlushes(uint64_t* value, DBImpl* db, in HandleNumRunningFlushes()
676 bool InternalStats::HandleCompactionPending(uint64_t* value, DBImpl* /*db*/, in HandleCompactionPending()
685 bool InternalStats::HandleNumRunningCompactions(uint64_t* value, DBImpl* db, in HandleNumRunningCompactions()
691 bool InternalStats::HandleBackgroundErrors(uint64_t* value, DBImpl* /*db*/, in HandleBackgroundErrors()
698 bool InternalStats::HandleCurSizeActiveMemTable(uint64_t* value, DBImpl* /*db*/, in HandleCurSizeActiveMemTable()
705 bool InternalStats::HandleCurSizeAllMemTables(uint64_t* value, DBImpl* /*db*/, in HandleCurSizeAllMemTables()
713 bool InternalStats::HandleSizeAllMemTables(uint64_t* value, DBImpl* /*db*/, in HandleSizeAllMemTables()
720 bool InternalStats::HandleNumEntriesActiveMemTable(uint64_t* value, in HandleNumEntriesActiveMemTable()
728 bool InternalStats::HandleNumEntriesImmMemTables(uint64_t* value, in HandleNumEntriesImmMemTables()
736 bool InternalStats::HandleNumDeletesActiveMemTable(uint64_t* value, in HandleNumDeletesActiveMemTable()
744 bool InternalStats::HandleNumDeletesImmMemTables(uint64_t* value, in HandleNumDeletesImmMemTables()
752 bool InternalStats::HandleEstimateNumKeys(uint64_t* value, DBImpl* /*db*/, in HandleEstimateNumKeys()
768 bool InternalStats::HandleNumSnapshots(uint64_t* value, DBImpl* db, in HandleNumSnapshots()
774 bool InternalStats::HandleOldestSnapshotTime(uint64_t* value, DBImpl* db, in HandleOldestSnapshotTime()
780 bool InternalStats::HandleOldestSnapshotSequence(uint64_t* value, DBImpl* db, in HandleOldestSnapshotSequence()
786 bool InternalStats::HandleNumLiveVersions(uint64_t* value, DBImpl* /*db*/, in HandleNumLiveVersions()
792 bool InternalStats::HandleCurrentSuperVersionNumber(uint64_t* value, in HandleCurrentSuperVersionNumber()
799 bool InternalStats::HandleIsFileDeletionsEnabled(uint64_t* value, DBImpl* db, in HandleIsFileDeletionsEnabled()
805 bool InternalStats::HandleBaseLevel(uint64_t* value, DBImpl* /*db*/, in HandleBaseLevel()
812 bool InternalStats::HandleTotalSstFilesSize(uint64_t* value, DBImpl* /*db*/, in HandleTotalSstFilesSize()
818 bool InternalStats::HandleLiveSstFilesSize(uint64_t* value, DBImpl* /*db*/, in HandleLiveSstFilesSize()
824 bool InternalStats::HandleEstimatePendingCompactionBytes(uint64_t* value, in HandleEstimatePendingCompactionBytes()
832 bool InternalStats::HandleEstimateTableReadersMem(uint64_t* value, in HandleEstimateTableReadersMem()
839 bool InternalStats::HandleEstimateLiveDataSize(uint64_t* value, DBImpl* /*db*/, in HandleEstimateLiveDataSize()
846 bool InternalStats::HandleMinLogNumberToKeep(uint64_t* value, DBImpl* db, in HandleMinLogNumberToKeep()
852 bool InternalStats::HandleMinObsoleteSstNumberToKeep(uint64_t* value, in HandleMinObsoleteSstNumberToKeep()
859 bool InternalStats::HandleActualDelayedWriteRate(uint64_t* value, DBImpl* db, in HandleActualDelayedWriteRate()
870 bool InternalStats::HandleIsWriteStopped(uint64_t* value, DBImpl* db, in HandleIsWriteStopped()
876 bool InternalStats::HandleEstimateOldestKeyTime(uint64_t* value, DBImpl* /*db*/, in HandleEstimateOldestKeyTime()
906 bool InternalStats::HandleBlockCacheStat(Cache** block_cache) { in HandleBlockCacheStat()
925 bool InternalStats::HandleBlockCacheCapacity(uint64_t* value, DBImpl* /*db*/, in HandleBlockCacheCapacity()
936 bool InternalStats::HandleBlockCacheUsage(uint64_t* value, DBImpl* /*db*/, in HandleBlockCacheUsage()
947 bool InternalStats::HandleBlockCachePinnedUsage(uint64_t* value, DBImpl* /*db*/, in HandleBlockCachePinnedUsage()
958 void InternalStats::DumpDBStats(std::string* value) { in DumpDBStats()
969 GetDBStats(InternalStats::kIntStatsBytesWritten); in DumpDBStats()
971 GetDBStats(InternalStats::kIntStatsNumKeysWritten); in DumpDBStats()
972 uint64_t write_other = GetDBStats(InternalStats::kIntStatsWriteDoneByOther); in DumpDBStats()
973 uint64_t write_self = GetDBStats(InternalStats::kIntStatsWriteDoneBySelf); in DumpDBStats()
974 uint64_t wal_bytes = GetDBStats(InternalStats::kIntStatsWalFileBytes); in DumpDBStats()
975 uint64_t wal_synced = GetDBStats(InternalStats::kIntStatsWalFileSynced); in DumpDBStats()
976 uint64_t write_with_wal = GetDBStats(InternalStats::kIntStatsWriteWithWal); in DumpDBStats()
978 GetDBStats(InternalStats::kIntStatsWriteStallMicros); in DumpDBStats()
1081 void InternalStats::DumpCFMapStats( in DumpCFMapStats()
1093 InternalStats::compaction_level_stats.at(stat_type).property_name; in DumpCFMapStats()
1101 void InternalStats::DumpCFMapStats( in DumpCFMapStats()
1169 void InternalStats::DumpCFMapStatsByPriority( in DumpCFMapStatsByPriority()
1183 void InternalStats::DumpCFMapStatsIOStalls( in DumpCFMapStatsIOStalls()
1215 void InternalStats::DumpCFStats(std::string* value) { in DumpCFStats()
1220 void InternalStats::DumpCFStatsNoFileHistogram(std::string* value) { in DumpCFStatsNoFileHistogram()
1398 void InternalStats::DumpCFFileHistogram(std::string* value) { in DumpCFFileHistogram()