$extrastylesheet
#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 ptrdiff_t | difference_type |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T | value_type |
| typedef size_t | size_type |
| typedef 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 54 of file threads_allocators.h.
| typedef const T* libMesh::Threads::scalable_allocator< T >::const_pointer |
Definition at line 58 of file threads_allocators.h.
| typedef const T* libMesh::Threads::scalable_allocator< T >::const_pointer |
Definition at line 97 of file threads_allocators.h.
| typedef ptrdiff_t libMesh::Threads::scalable_allocator< T >::difference_type |
Definition at line 63 of file threads_allocators.h.
| typedef ptrdiff_t libMesh::Threads::scalable_allocator< T >::difference_type |
Definition at line 102 of file threads_allocators.h.
| typedef T* libMesh::Threads::scalable_allocator< T >::pointer |
Definition at line 57 of file threads_allocators.h.
| typedef T* libMesh::Threads::scalable_allocator< T >::pointer |
Definition at line 96 of file threads_allocators.h.
| typedef size_t libMesh::Threads::scalable_allocator< T >::size_type |
Definition at line 62 of file threads_allocators.h.
| typedef size_t libMesh::Threads::scalable_allocator< T >::size_type |
Definition at line 101 of file threads_allocators.h.
| typedef T libMesh::Threads::scalable_allocator< T >::value_type |
Definition at line 61 of file threads_allocators.h.
| typedef T libMesh::Threads::scalable_allocator< T >::value_type |
Definition at line 100 of file threads_allocators.h.
| libMesh::Threads::scalable_allocator< T >::scalable_allocator | ( | ) | [inline] |
Definition at line 71 of file threads_allocators.h.
:
tbb::scalable_allocator<T>() {}
| libMesh::Threads::scalable_allocator< T >::scalable_allocator | ( | const scalable_allocator< T > & | a | ) | [inline] |
Definition at line 74 of file threads_allocators.h.
:
tbb::scalable_allocator<T>(a) {}
| libMesh::Threads::scalable_allocator< T >::scalable_allocator | ( | const scalable_allocator< U > & | a | ) | [inline] |
Definition at line 78 of file threads_allocators.h.
:
tbb::scalable_allocator<T>(a) {}
| libMesh::Threads::scalable_allocator< T >::scalable_allocator | ( | ) | [inline] |
Definition at line 110 of file threads_allocators.h.
:
std::allocator<T>() {}
| libMesh::Threads::scalable_allocator< T >::scalable_allocator | ( | const scalable_allocator< T > & | a | ) | [inline] |
Definition at line 113 of file threads_allocators.h.
:
std::allocator<T>(a) {}
| libMesh::Threads::scalable_allocator< T >::scalable_allocator | ( | const scalable_allocator< U > & | a | ) | [inline] |
Definition at line 117 of file threads_allocators.h.
:
std::allocator<T>(a) {}