BioDynaMo  v1.05.119-a4ff3934
Public Member Functions | Private Attributes | List of all members
bdm::memory_manager_detail::PoolAllocator Class Reference

#include <memory_manager.h>

Collaboration diagram for bdm::memory_manager_detail::PoolAllocator:
[legend]

Public Member Functions

 PoolAllocator (std::size_t size, uint64_t size_n_pages, real_t growth_rate, uint64_t max_mem_per_thread_factor)
 
 PoolAllocator (PoolAllocator &&other) noexcept
 
 PoolAllocator (const PoolAllocator &other)=delete
 
 ~PoolAllocator ()
 
void * New (std::size_t size)
 

Private Attributes

std::size_t size_
 
ThreadInfotinfo_
 
std::vector< NumaPoolAllocator * > numa_allocators_
 

Detailed Description

Definition at line 129 of file memory_manager.h.

Constructor & Destructor Documentation

◆ PoolAllocator() [1/3]

bdm::memory_manager_detail::PoolAllocator::PoolAllocator ( std::size_t  size,
uint64_t  size_n_pages,
real_t  growth_rate,
uint64_t  max_mem_per_thread_factor 
)

Definition at line 297 of file memory_manager.cc.

◆ PoolAllocator() [2/3]

bdm::memory_manager_detail::PoolAllocator::PoolAllocator ( PoolAllocator &&  other)
noexcept

Definition at line 308 of file memory_manager.cc.

◆ PoolAllocator() [3/3]

bdm::memory_manager_detail::PoolAllocator::PoolAllocator ( const PoolAllocator other)
delete

◆ ~PoolAllocator()

bdm::memory_manager_detail::PoolAllocator::~PoolAllocator ( )

Definition at line 313 of file memory_manager.cc.

Member Function Documentation

◆ New()

void * bdm::memory_manager_detail::PoolAllocator::New ( std::size_t  size)

Definition at line 321 of file memory_manager.cc.

Member Data Documentation

◆ numa_allocators_

std::vector<NumaPoolAllocator*> bdm::memory_manager_detail::PoolAllocator::numa_allocators_
private

Definition at line 144 of file memory_manager.h.

◆ size_

std::size_t bdm::memory_manager_detail::PoolAllocator::size_
private

Definition at line 142 of file memory_manager.h.

◆ tinfo_

ThreadInfo* bdm::memory_manager_detail::PoolAllocator::tinfo_
private

Definition at line 143 of file memory_manager.h.


The documentation for this class was generated from the following files: