Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Classes | |
class | tbb::cache_aligned_allocator< T > |
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More... | |
class | tbb::cache_aligned_allocator< void > |
Analogous to std::allocator<void>, as defined in ISO C++ Standard, Section 20.4.1. More... | |
class | tbb::interface6::memory_pool_allocator< T, P > |
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More... | |
class | tbb::interface6::memory_pool_allocator< void, P > |
Analogous to std::allocator<void>, as defined in ISO C++ Standard, Section 20.4.1. More... | |
class | tbb::tbb_allocator< T > |
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More... | |
class | tbb::tbb_allocator< void > |
Analogous to std::allocator<void>, as defined in ISO C++ Standard, Section 20.4.1. More... | |
class | tbb::zero_allocator< T, Allocator > |
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More... | |
class | tbb::zero_allocator< void, Allocator > |
Analogous to std::allocator<void>, as defined in ISO C++ Standard, Section 20.4.1. More... | |
Variables | |
const size_t | tbb::internal::NFS_MaxLineSize = 128 |
Compile-time constant that is upper bound on cache line/sector size. More... | |
class tbb::__TBB_DEPRECATED_IN_VERBOSE_MODE_MSG | ( | "tbb::aligned_space is | deprecated, |
use std::aligned_storage" | |||
) |
Block of space aligned sufficiently to construct an array T with N elements.
The elements are not constructed or destroyed by this class.
Pointer to beginning of array
Pointer to one past last element in array.
Definition at line 43 of file aligned_space.h.
References __TBB_TypeWithAlignmentAtLeastAsStrict, begin, and end.
Allocate memory on cache/sector line boundary.
Definition at line 176 of file cache_aligned_allocator.cpp.
References __TBB_ASSERT, tbb::internal::eid_bad_alloc, tbb::internal::is_aligned(), tbb::internal::is_power_of_two(), tbb::internal::NFS_LineSize, tbb::internal::NFS_MaxLineSize, and tbb::internal::throw_exception().
Referenced by tbb::cache_aligned_allocator< T >::allocate(), tbb::internal::arena::allocate_arena(), tbb::internal::custom_scheduler< SchedulerTraits >::allocate_scheduler(), tbb::internal::generic_scheduler::allocate_task(), tbb::internal::arena_slot::allocate_task_pool(), tbb::internal::arena::arena(), tbb::internal::generic_scheduler::create_master(), tbb::internal::concurrent_vector_base_v3::helper::extend_segment_table(), tbb::internal::cpu_ctl_env::get_env(), tbb::internal::market::global_market(), tbb::internal::cpu_ctl_env::operator=(), tbb::internal::fast_reverse_vector< T, max_segments >::push_back(), and tbb::internal::affinity_partitioner_base_v3::resize().
Free memory allocated by NFS_Allocate.
Freeing a NULL pointer is allowed, but has no effect.
Definition at line 198 of file cache_aligned_allocator.cpp.
References p.
Referenced by tbb::internal::generic_scheduler::cleanup_master(), tbb::cache_aligned_allocator< T >::deallocate(), tbb::internal::generic_scheduler::deallocate_task(), tbb::internal::market::destroy(), tbb::internal::generic_scheduler::destroy(), tbb::internal::mail_outbox::drain(), tbb::internal::concurrent_vector_base_v3::helper::extend_segment_table(), tbb::internal::arena::free_arena(), tbb::internal::arena_slot::free_task_pool(), tbb::internal::generic_scheduler::prepare_task_pool(), tbb::internal::affinity_partitioner_base_v3::resize(), tbb::internal::concurrent_vector_base_v3::~concurrent_vector_base_v3(), tbb::internal::cpu_ctl_env::~cpu_ctl_env(), and tbb::internal::fast_reverse_vector< T, max_segments >::~fast_reverse_vector().
size_t tbb::internal::NFS_GetLineSize | ( | ) |
Cache/sector line size.
Definition at line 167 of file cache_aligned_allocator.cpp.
References tbb::internal::NFS_LineSize.
Referenced by tbb::internal::arena::allocate_arena(), tbb::internal::arena::arena(), tbb::strict_ppl::internal::concurrent_queue_base_v3< Value >::concurrent_queue_base_v3(), and tbb::internal::concurrent_queue_base_v3::concurrent_queue_base_v3().
void __TBB_EXPORTED_FUNC scalable_aligned_free | ( | void * | ptr | ) |
The "_aligned_free" analogue.
void* __TBB_EXPORTED_FUNC scalable_aligned_malloc | ( | size_t | size, |
size_t | alignment | ||
) |
The "_aligned_malloc" analogue.
void* __TBB_EXPORTED_FUNC scalable_aligned_realloc | ( | void * | ptr, |
size_t | size, | ||
size_t | alignment | ||
) |
The "_aligned_realloc" analogue.
int __TBB_EXPORTED_FUNC scalable_allocation_command | ( | int | cmd, |
void * | param | ||
) |
Call TBB allocator-specific commands.
int __TBB_EXPORTED_FUNC scalable_allocation_mode | ( | int | param, |
intptr_t | value | ||
) |
Set TBB allocator-specific allocation modes.
void* __TBB_EXPORTED_FUNC scalable_calloc | ( | size_t | nobj, |
size_t | size | ||
) |
The "calloc" analogue complementing scalable_malloc.
void __TBB_EXPORTED_FUNC scalable_free | ( | void * | ptr | ) |
The "free" analogue to discard a previously allocated piece of memory.
void* __TBB_EXPORTED_FUNC scalable_malloc | ( | size_t | size | ) |
The "malloc" analogue to allocate block of memory of size bytes.
size_t __TBB_EXPORTED_FUNC scalable_msize | ( | void * | ptr | ) |
The analogue of msize/malloc_size/malloc_usable_size. Returns the usable size of a memory block previously allocated by scalable*, or 0 (zero) if ptr does not point to such a block.
int __TBB_EXPORTED_FUNC scalable_posix_memalign | ( | void ** | memptr, |
size_t | alignment, | ||
size_t | size | ||
) |
The "posix_memalign" analogue.
void* __TBB_EXPORTED_FUNC scalable_realloc | ( | void * | ptr, |
size_t | size | ||
) |
The "realloc" analogue complementing scalable_malloc.
const size_t tbb::internal::NFS_MaxLineSize = 128 |
Compile-time constant that is upper bound on cache line/sector size.
It should be used only in situations where having a compile-time upper bound is more useful than a run-time exact answer.
Definition at line 216 of file tbb_stddef.h.
Referenced by tbb::internal::arena::allocate_arena(), tbb::internal::arena_slot::allocate_task_pool(), tbb::internal::mail_outbox::construct(), tbb::cache_aligned_allocator< T >::max_size(), and tbb::internal::NFS_Allocate().