Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
Friends | List of all members
ska::cheetah::data::CachingAllocatorImpl< cheetah::Cpu, T > Class Template Reference

A CPU-based CachingAllocator implementation. More...

#include <cheetah/data/detail/CachingAllocatorImpl.h>

Inheritance diagram for ska::cheetah::data::CachingAllocatorImpl< cheetah::Cpu, T >:
Inheritance graph
Collaboration diagram for ska::cheetah::data::CachingAllocatorImpl< cheetah::Cpu, T >:
Collaboration graph

Friends

class CachingAllocatorImplBase< CachingAllocatorImpl< cheetah::Cpu, T >, T >
 

Additional Inherited Members

- Public Member Functions inherited from ska::cheetah::data::CachingAllocatorImplBase< DerivedType, T >
 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...
 
- Protected Types inherited from ska::cheetah::data::CachingAllocatorImplBase< DerivedType, T >
typedef std::multimap< std::size_t, T * > FreeBlocksType
 
typedef std::map< T *, std::size_t > AllocatedBlocksType
 
- Protected Member Functions inherited from ska::cheetah::data::CachingAllocatorImplBase< DerivedType, T >
void free_all ()
 
- Protected Attributes inherited from ska::cheetah::data::CachingAllocatorImplBase< DerivedType, T >
FreeBlocksType _free_blocks
 
AllocatedBlocksType _allocated_blocks
 
std::mutex _mutex
 

Detailed Description

template<typename T>
class ska::cheetah::data::CachingAllocatorImpl< cheetah::Cpu, T >

A CPU-based CachingAllocator implementation.

Template Parameters
TThe value type

Definition at line 51 of file CachingAllocatorImpl.h.


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