libfoedus-core
FOEDUS Core Library
|
Pin the current thread to the given NUMA node in this object's scope. More...
Pin the current thread to the given NUMA node in this object's scope.
Declare this object as soon as the thread starts.
Definition at line 33 of file numa_thread_scope.hpp.
#include <numa_thread_scope.hpp>
Public Member Functions | |
NumaThreadScope (int numa_node) | |
~NumaThreadScope () | |
|
inlineexplicit |
Definition at line 34 of file numa_thread_scope.hpp.
References foedus::assorted::mod_numa_node(), numa_available(), numa_run_on_node(), and numa_set_localalloc().
|
inline |
Definition at line 41 of file numa_thread_scope.hpp.
References numa_all_nodes_ptr, numa_available(), and numa_run_on_node_mask().