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

Method getChildCount

bolt/common/memory/MemoryPool.cpp:339–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339uint64_t MemoryPool::getChildCount() const {
340 std::shared_lock guard{poolMutex_};
341 return children_.size();
342}
343
344void MemoryPool::visitChildren(
345 const std::function<bool(MemoryPool*)>& visitor) const {

Callers 5

numPoolsMethod · 0.80
findLeavesOfMethod · 0.80
TEST_PFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 4

findLeavesOfMethod · 0.64
TEST_PFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64