Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"
#include "lib/sysdep/numa.h"
#include "lib/bits.h"
#include "lib/sysdep/os_cpu.h"
Functions | |
size_t | numa_NumNodes () |
size_t | numa_NodeFromProcessor (size_t processor) |
uintptr_t | numa_ProcessorMaskFromNode (size_t node) |
size_t | numa_AvailableMemory (size_t node) |
double | numa_Factor () |
bool | numa_IsMemoryInterleaved () |
size_t numa_AvailableMemory | ( | size_t | node | ) |
node |
double numa_Factor | ( | ) |
bool numa_IsMemoryInterleaved | ( | ) |
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.
size_t numa_NodeFromProcessor | ( | size_t | processor | ) |
processor |
size_t numa_NumNodes | ( | ) |
uintptr_t numa_ProcessorMaskFromNode | ( | size_t | node | ) |
node |