MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / createPool

Method createPool

src/jrd/Attachment.cpp:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146
147
148MemoryPool* Jrd::Attachment::createPool()
149{
150 MemoryPool* const pool = MemoryPool::createPool(att_pool, att_memory_stats);
151 auto stats = FB_NEW_POOL(*pool) MemoryStats(&att_memory_stats);
152 pool->setStatsGroup(*stats);
153 att_pools.add(pool);
154 return pool;
155}
156
157
158void Jrd::Attachment::deletePool(MemoryPool* pool)

Callers 1

createMethod · 0.45

Calls 3

MemoryStatsClass · 0.85
setStatsGroupMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected