MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / configure_pool

Method configure_pool

dds/DCPS/Service_Participant.cpp:2178–2189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2176
2177#if OPENDDS_POOL_ALLOCATOR
2178void
2179Service_Participant::configure_pool()
2180{
2181 const size_t pool_size = config_store_->get_uint32(COMMON_POOL_SIZE,
2182 COMMON_POOL_SIZE_default);
2183 const size_t pool_granularity = config_store_->get_uint32(COMMON_POOL_GRANULARITY,
2184 COMMON_POOL_GRANULARITY_default);
2185 if (pool_size) {
2186 SafetyProfilePool::instance()->configure_pool(pool_size, pool_granularity);
2187 SafetyProfilePool::instance()->install();
2188 }
2189}
2190#endif
2191
2192#ifndef OPENDDS_NO_PERSISTENCE_PROFILE

Callers

nothing calls this directly

Calls 3

instanceFunction · 0.85
get_uint32Method · 0.80
installMethod · 0.80

Tested by

no test coverage detected