Definition at line 135 of file numa.cpp.
◆ NodeData()
anonymous_namespace{numa.cpp}::NodeData::NodeData |
( |
int |
id | ) |
|
|
inlineexplicit |
◆ add_cpu()
void anonymous_namespace{numa.cpp}::NodeData::add_cpu |
( |
cpu_id_t |
cpu_id | ) |
|
|
inline |
◆ empty()
bool anonymous_namespace{numa.cpp}::NodeData::empty |
( |
| ) |
const |
|
inline |
◆ get_id()
numa_node_id_t anonymous_namespace{numa.cpp}::NodeData::get_id |
( |
| ) |
const |
|
inline |
◆ max_load()
int anonymous_namespace{numa.cpp}::NodeData::max_load |
( |
| ) |
const |
|
inline |
◆ num_threads()
int anonymous_namespace{numa.cpp}::NodeData::num_threads |
( |
| ) |
const |
|
inline |
◆ place_thread()
cpu_id_t anonymous_namespace{numa.cpp}::NodeData::place_thread |
( |
| ) |
|
|
inline |
◆ m_CPUs
std::vector<cpu_id_t> anonymous_namespace{numa.cpp}::NodeData::m_CPUs |
|
private |
Vector of CPU ids that are on this NUMA node.
Definition at line 187 of file numa.cpp.
◆ m_ID
◆ m_LoadIndicator
std::vector<int> anonymous_namespace{numa.cpp}::NodeData::m_LoadIndicator |
|
private |
How much work have we placed on that CPU.
Currently uses the following heuristic: Placing a thread on the core increases the load by a value of 10, and increases the load of any core that is shared by hyperthreading by 5.
Definition at line 193 of file numa.cpp.
◆ NumThreads
int anonymous_namespace{numa.cpp}::NodeData::NumThreads = 0 |
|
private |
The documentation for this class was generated from the following file: