Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Public Member Functions | |
numa_affinity_handler (size_t size) | |
~numa_affinity_handler () | |
void | bind_thread_to_node (unsigned slot_num, unsigned numa_node_id) |
void | restore_previous_affinity_mask (unsigned slot_num) |
Private Types | |
typedef std::vector< platform_topology::affinity_mask > | affinity_masks_container |
Private Attributes | |
affinity_masks_container | affinity_backup |
Definition at line 224 of file tbbbind.cpp.
|
private |
Definition at line 227 of file tbbbind.cpp.
|
inline |
Definition at line 231 of file tbbbind.cpp.
References affinity_backup, and tbb::internal::platform_topology::allocate_process_affinity_mask().
|
inline |
Definition at line 238 of file tbbbind.cpp.
References affinity_backup, and tbb::internal::platform_topology::free_affinity_mask().
|
inline |
Definition at line 245 of file tbbbind.cpp.
References __TBB_ASSERT, affinity_backup, tbb::internal::platform_topology::get_node_affinity_mask(), tbb::internal::platform_topology::is_topology_parsed(), tbb::internal::platform_topology::set_new_affinity_mask(), and tbb::internal::platform_topology::store_current_affinity_mask().
Referenced by tbb::internal::numa_binding_observer::on_scheduler_entry().
|
inline |
Definition at line 256 of file tbbbind.cpp.
References __TBB_ASSERT, affinity_backup, tbb::internal::platform_topology::is_topology_parsed(), and tbb::internal::platform_topology::set_new_affinity_mask().
Referenced by tbb::internal::numa_binding_observer::on_scheduler_exit().
|
private |
Definition at line 228 of file tbbbind.cpp.
Referenced by bind_thread_to_node(), numa_affinity_handler(), restore_previous_affinity_mask(), and ~numa_affinity_handler().