Lines Matching refs:level
535 uint64_t level; in HandleNumFilesAtLevel() local
537 bool ok = ConsumeDecimalNumber(&suffix, &level) && suffix.empty(); in HandleNumFilesAtLevel()
538 if (!ok || static_cast<int>(level) >= number_levels_) { in HandleNumFilesAtLevel()
543 vstorage->NumLevelFiles(static_cast<int>(level))); in HandleNumFilesAtLevel()
551 uint64_t level; in HandleCompressionRatioAtLevelPrefix() local
553 bool ok = ConsumeDecimalNumber(&suffix, &level) && suffix.empty(); in HandleCompressionRatioAtLevelPrefix()
554 if (!ok || level >= static_cast<uint64_t>(number_levels_)) { in HandleCompressionRatioAtLevelPrefix()
558 vstorage->GetEstimatedCompressionRatioAtLevel(static_cast<int>(level))); in HandleCompressionRatioAtLevelPrefix()
570 for (int level = 0; level < number_levels_; level++) { in HandleLevelStats() local
571 snprintf(buf, sizeof(buf), "%3d %8d %8.0f\n", level, in HandleLevelStats()
572 vstorage->NumLevelFiles(level), in HandleLevelStats()
573 vstorage->NumLevelBytes(level) / kMB); in HandleLevelStats()
636 uint64_t level; in HandleAggregatedTablePropertiesAtLevel() local
637 bool ok = ConsumeDecimalNumber(&suffix, &level) && suffix.empty(); in HandleAggregatedTablePropertiesAtLevel()
638 if (!ok || static_cast<int>(level) >= number_levels_) { in HandleAggregatedTablePropertiesAtLevel()
643 &tp, static_cast<int>(level)); in HandleAggregatedTablePropertiesAtLevel()
1120 for (int level = 0; level < number_levels_; ++level) { in DumpCFMapStats() local
1121 for (auto* f : vstorage->LevelFiles(level)) { in DumpCFMapStats()
1123 ++files_being_compacted[level]; in DumpCFMapStats()
1134 for (int level = 0; level < number_levels_; level++) { in DumpCFMapStats() local
1135 int files = vstorage->NumLevelFiles(level); in DumpCFMapStats()
1137 total_files_being_compacted += files_being_compacted[level]; in DumpCFMapStats()
1138 if (comp_stats_[level].micros > 0 || files > 0) { in DumpCFMapStats()
1139 compaction_stats_sum->Add(comp_stats_[level]); in DumpCFMapStats()
1140 total_file_size += vstorage->NumLevelBytes(level); in DumpCFMapStats()
1142 if (level == 0) { in DumpCFMapStats()
1145 input_bytes = comp_stats_[level].bytes_read_non_output_levels; in DumpCFMapStats()
1150 : static_cast<double>(comp_stats_[level].bytes_written) / in DumpCFMapStats()
1153 PrepareLevelStats(&level_stats, files, files_being_compacted[level], in DumpCFMapStats()
1154 static_cast<double>(vstorage->NumLevelBytes(level)), in DumpCFMapStats()
1155 compaction_score[level], w_amp, comp_stats_[level]); in DumpCFMapStats()
1156 (*levels_stats)[level] = level_stats; in DumpCFMapStats()
1322 for (int level = 0; level < number_levels_; level++) { in DumpCFStatsNoFileHistogram() local
1323 compact_bytes_read += comp_stats_[level].bytes_read_output_level + in DumpCFStatsNoFileHistogram()
1324 comp_stats_[level].bytes_read_non_output_levels; in DumpCFStatsNoFileHistogram()
1325 compact_bytes_write += comp_stats_[level].bytes_written; in DumpCFStatsNoFileHistogram()
1326 compact_micros += comp_stats_[level].micros; in DumpCFStatsNoFileHistogram()
1405 for (int level = 0; level < number_levels_; level++) { in DumpCFFileHistogram() local
1406 if (!file_read_latency_[level].Empty()) { in DumpCFFileHistogram()
1409 "** Level %d read latency histogram (micros):\n%s\n", level, in DumpCFFileHistogram()
1410 file_read_latency_[level].ToString().c_str()); in DumpCFFileHistogram()