Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Defines entry point for affinity partitioner into TBB run-time library. More...
#include <partitioner.h>
Private Member Functions | |
affinity_partitioner_base_v3 () | |
Zeros the fields. More... | |
~affinity_partitioner_base_v3 () | |
Deallocates my_array. More... | |
void __TBB_EXPORTED_METHOD | resize (unsigned factor) |
Resize my_array. More... | |
![]() | |
no_copy (const no_copy &)=delete | |
no_copy ()=default | |
Private Attributes | |
affinity_id * | my_array |
Array that remembers affinities of tree positions to affinity_id. More... | |
size_t | my_size |
Number of elements in my_array. More... | |
Friends | |
class | tbb::affinity_partitioner |
class | tbb::interface9::internal::affinity_partition_type |
Defines entry point for affinity partitioner into TBB run-time library.
Definition at line 80 of file partitioner.h.
|
inlineprivate |
Zeros the fields.
Definition at line 89 of file partitioner.h.
|
inlineprivate |
Deallocates my_array.
Definition at line 91 of file partitioner.h.
References resize().
|
private |
Resize my_array.
Retains values if resulting size is the same.
Definition at line 157 of file task.cpp.
References tbb::internal::governor::local_scheduler(), tbb::internal::generic_scheduler::max_threads_in_arena(), my_array, my_size, new_size, tbb::internal::NFS_Allocate(), and tbb::internal::NFS_Free().
Referenced by tbb::interface9::internal::affinity_partition_type::affinity_partition_type(), and ~affinity_partitioner_base_v3().
|
friend |
Definition at line 81 of file partitioner.h.
|
friend |
Definition at line 82 of file partitioner.h.
|
private |
Array that remembers affinities of tree positions to affinity_id.
NULL if my_size==0.
Definition at line 85 of file partitioner.h.
Referenced by tbb::interface9::internal::affinity_partition_type::affinity_partition_type(), and resize().
|
private |
Number of elements in my_array.
Definition at line 87 of file partitioner.h.
Referenced by resize().