#include <threads_allocators.h>
Classes | |
struct | rebind |
Public Types | |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T | value_type |
typedef size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T | value_type |
typedef size_t | size_type |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
scalable_allocator () | |
scalable_allocator (const scalable_allocator &a) | |
template<typename U > | |
scalable_allocator (const scalable_allocator< U > &a) | |
scalable_allocator () | |
scalable_allocator (const scalable_allocator &a) | |
template<typename U > | |
scalable_allocator (const scalable_allocator< U > &a) | |
Scalable allocator to be used in multithreaded code chunks which allocate a lot of dynamic memory. This allocator can be faster than the std::allocator when there are multiple threads.
Just use std::allocator when the Threading Building Blocks is absent.
Definition at line 56 of file threads_allocators.h.
typedef const T* libMesh::Threads::scalable_allocator< T >::const_pointer |
Definition at line 60 of file threads_allocators.h.
typedef const T* libMesh::Threads::scalable_allocator< T >::const_pointer |
Definition at line 99 of file threads_allocators.h.
typedef std::ptrdiff_t libMesh::Threads::scalable_allocator< T >::difference_type |
Definition at line 65 of file threads_allocators.h.
typedef std::ptrdiff_t libMesh::Threads::scalable_allocator< T >::difference_type |
Definition at line 104 of file threads_allocators.h.
typedef T* libMesh::Threads::scalable_allocator< T >::pointer |
Definition at line 59 of file threads_allocators.h.
typedef T* libMesh::Threads::scalable_allocator< T >::pointer |
Definition at line 98 of file threads_allocators.h.
typedef size_t libMesh::Threads::scalable_allocator< T >::size_type |
Definition at line 64 of file threads_allocators.h.
typedef size_t libMesh::Threads::scalable_allocator< T >::size_type |
Definition at line 103 of file threads_allocators.h.
typedef T libMesh::Threads::scalable_allocator< T >::value_type |
Definition at line 63 of file threads_allocators.h.
typedef T libMesh::Threads::scalable_allocator< T >::value_type |
Definition at line 102 of file threads_allocators.h.
|
inline |
Definition at line 73 of file threads_allocators.h.
|
inline |
Definition at line 76 of file threads_allocators.h.
|
inline |
Definition at line 80 of file threads_allocators.h.
|
inline |
Definition at line 112 of file threads_allocators.h.
|
inline |
Definition at line 115 of file threads_allocators.h.
|
inline |
Definition at line 119 of file threads_allocators.h.