Home
last modified time | relevance | path

Searched refs:fixed_pool (Results 1 – 5 of 5) sorted by relevance

/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dfixed_pool_cls.rst3 fixed_pool title
18 ``fixed_pool`` allocates and frees memory in a way that scales with the number of processors.
20 ``fixed_pool`` meet the :doc:`Memory Pool named requirement<../scalable_memory_pools>`.
39 class fixed_pool {
41 fixed_pool(void *buffer, size_t size);
42 fixed_pool(const fixed_pool& other) = delete;
43 fixed_pool& operator=(const fixed_pool& other) = delete;
44 ~fixed_pool();
57 .. cpp:function:: fixed_pool(void *buffer, size_t size)
73 oneapi::tbb::fixed_pool my_pool(buf, 1024*1024);
H A Dmemory_pool_allocator_cls.rst20 This constructor is linked with an instance of either the ``memory_pool`` or the ``fixed_pool`` cla…
54 explicit memory_pool_allocator(fixed_pool &pool) throw();
77 memory_pool_allocator(fixed_pool &pool) throw();
101 .. cpp:function:: explicit memory_pool_allocator(fixed_pool &pool)
103 **Effects**: Constructs a memory pool allocator serviced by ``fixed_pool`` instance pool.
/oneTBB/test/tbbmalloc/
H A Dtest_scalable_allocator.cpp132 tbb::fixed_pool pool(buf, sz); in TestSmallFixedSizePool()
166 tbb::fixed_pool pool(nullptr, 10*1024*1024); in TestSmallFixedSizePool()
198 tbb::fixed_pool pool(buf, sizeof(buf));
221 typedef tbb::memory_pool<tbb::memory_pool_allocator<char, tbb::fixed_pool> > NestedPool;
224 tbb::fixed_pool fixedPool(buffer, sizeof(buffer));
226 tbb::memory_pool_allocator<char, tbb::fixed_pool> fixedPoolAllocator(fixedPool);
293 tbb::fixed_pool fpool(buf, sizeof(buf));
/oneTBB/include/oneapi/tbb/
H A Dmemory_pool.h188 class fixed_pool : public pool_base {
195 inline fixed_pool(void *buf, size_t size);
197 ~fixed_pool() { destroy(); } in ~fixed_pool()
244 inline fixed_pool::fixed_pool(void *buf, size_t size) : my_buffer(buf), my_size(size) { in fixed_pool() function
253 inline void *fixed_pool::allocate_request(intptr_t pool_id, size_t & bytes) { in allocate_request()
254 fixed_pool &self = *reinterpret_cast<fixed_pool*>(pool_id); in allocate_request()
267 using detail::d1::fixed_pool;
/oneTBB/doc/main/reference/
H A Dscalable_memory_pools.rst36 …The ``memory_pool`` template class and the ``fixed_pool`` class meet the Memory Pool named require…