27#ifndef INCLUDED_OS_CPU
28#define INCLUDED_OS_CPU
uintptr_t m_previousProcessorMask
Definition: os_cpu.h:133
~os_cpu_ScopedSetThreadAffinityMask()
Definition: os_cpu.h:127
os_cpu_ScopedSetThreadAffinityMask(uintptr_t processorMask)
Definition: os_cpu.h:122
const Status OS_CPU_RESTRICTED_AFFINITY
Definition: os_cpu.h:32
size_t os_cpu_NumProcessors()
Definition: bcpu.cpp:37
size_t os_cpu_QueryMemorySize()
Definition: bcpu.cpp:91
void(* OsCpuCallback)(size_t processor, uintptr_t cbData)
called by os_cpu_CallByEachCPU.
Definition: os_cpu.h:143
size_t os_cpu_MemoryAvailable()
Definition: bcpu.cpp:103
static const size_t os_cpu_MaxProcessors
maximum number of processors supported by the OS (determined by the number of bits in an affinity mas...
Definition: os_cpu.h:50
double os_cpu_ClockFrequency()
Definition: os_cpu.cpp:43
size_t os_cpu_PageSize()
Definition: bcpu.cpp:73
size_t os_cpu_MemorySize()
Definition: os_cpu.cpp:63
size_t os_cpu_LargePageSize()
Definition: bcpu.cpp:84
Status os_cpu_CallByEachCPU(OsCpuCallback cb, uintptr_t cbData)
execute the specified function once on each processor.
Definition: bcpu.cpp:120
uintptr_t os_cpu_ProcessorMask()
Definition: bcpu.cpp:62
uintptr_t os_cpu_SetThreadAffinityMask(uintptr_t processorMask)
restrict the current thread to a set of processors.
Definition: bcpu.cpp:114
i64 Status
Error handling system.
Definition: status.h:173