Go to the source code of this file.
static Node* FindNodeWithProcessor |
( |
size_t |
processor | ) |
|
|
static |
static Node* FindNodeWithProcessorMask |
( |
uintptr_t |
processorMask | ) |
|
|
static |
static UCHAR HighestNodeNumber |
( |
| ) |
|
|
static |
static Status InitMemoryInterleaved |
( |
| ) |
|
|
static |
static Status InitRelativeDistance |
( |
| ) |
|
|
static |
static Status InitTopology |
( |
| ) |
|
|
static |
static bool IsMemoryInterleaved |
( |
| ) |
|
|
static |
static double MeasureRelativeDistance |
( |
| ) |
|
|
static |
static UCHAR NodeNumberFromNode |
( |
size_t |
node | ) |
|
|
static |
size_t numa_AvailableMemory |
( |
size_t |
node | ) |
|
- Parameters
-
- Returns
- bytes of memory available for allocation on <node>.
Definition at line 326 of file wnuma.cpp.
- Returns
- the ratio between maximum and minimum times that one processor from each node required to fill a globally allocated array. in other words, this is the maximum slowdown for NUMA-oblivious memory accesses. Microsoft guidelines require it to be <= 3.
Definition at line 426 of file wnuma.cpp.
bool numa_IsMemoryInterleaved |
( |
| ) |
|
- Returns
- an indication of whether memory pages are node-interleaved.
note: this requires ACPI access, which may not be available on least-permission accounts. the default is to return false so as not to cause callers to panic and trigger performance warnings.
Definition at line 456 of file wnuma.cpp.
size_t numa_NodeFromProcessor |
( |
size_t |
processor | ) |
|
- Parameters
-
- Returns
- node number (zero-based) to which <processor> belongs.
Definition at line 299 of file wnuma.cpp.
- Returns
- number of NUMA "nodes" (i.e. groups of CPUs with local memory).
Definition at line 293 of file wnuma.cpp.
uintptr_t numa_ProcessorMaskFromNode |
( |
size_t |
node | ) |
|
- Parameters
-
- Returns
- bit-mask of all processors constituting <node>.
Definition at line 308 of file wnuma.cpp.
static void PopulateNodes |
( |
| ) |
|
|
static |
static double ReadRelativeDistanceFromSLIT |
( |
const SLIT * |
slit | ) |
|
|
static |