MCPcopy Create free account
hub / github.com/bytedance/bolt / treeMemoryUsage

Method treeMemoryUsage

bolt/common/memory/Memory.cpp:482–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480 for (const auto& pool : pools) {
481 if (detail) {
482 out << pool->treeMemoryUsage(false);
483 } else {
484 out << "\t" << pool->name() << "\n";
485 }
486 out << "\trefcount " << pool.use_count() << "\n";
487 }
488 BOLT_CHECK_NOT_NULL(allocator_);
489 BOLT_CHECK_NOT_NULL(arbitrator_);
490 out << allocator_->toString() << "\n";
491 out << arbitrator_->toString();
492 out << "]";
493 return out.str();

Callers 8

initMethod · 0.45
createAndStartDriversMethod · 0.45
reclaimMethod · 0.45
checkedGrowMethod · 0.45
reclaimMethod · 0.45
toStringMethod · 0.45
printStatsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected