MCPcopy Create free account
hub / github.com/ElementsProject/elements / DumpFileCounts

Method DumpFileCounts

src/leveldb/db/db_test.cc:472–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470 }
471
472 void DumpFileCounts(const char* label) {
473 fprintf(stderr, "---\n%s:\n", label);
474 fprintf(
475 stderr, "maxoverlap: %lld\n",
476 static_cast<long long>(dbfull()->TEST_MaxNextLevelOverlappingBytes()));
477 for (int level = 0; level < config::kNumLevels; level++) {
478 int num = NumTableFilesAtLevel(level);
479 if (num > 0) {
480 fprintf(stderr, " level %3d : %d files\n", level, num);
481 }
482 }
483 }
484
485 std::string DumpSSTableList() {
486 std::string property;

Callers

nothing calls this directly

Tested by

no test coverage detected