Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
|
A CPU-based CachingAllocator implementation. More...
#include <cheetah/data/detail/CachingAllocatorImpl.h>
Friends | |
class | CachingAllocatorImplBase< CachingAllocatorImpl< cheetah::Cpu, T >, T > |
Additional Inherited Members | |
![]() | |
CachingAllocatorImplBase () | |
Create a new instance. | |
T * | allocate (std::size_t num_elements) |
Allocate memory. More... | |
void | deallocate (T *ptr, std::size_t) |
Deallocate memory. More... | |
![]() | |
typedef std::multimap< std::size_t, T * > | FreeBlocksType |
typedef std::map< T *, std::size_t > | AllocatedBlocksType |
![]() | |
void | free_all () |
![]() | |
FreeBlocksType | _free_blocks |
AllocatedBlocksType | _allocated_blocks |
std::mutex | _mutex |
A CPU-based CachingAllocator implementation.
T | The value type |
Definition at line 51 of file CachingAllocatorImpl.h.