27 #ifndef INCLUDED_OS_CPU
28 #define INCLUDED_OS_CPU
159 #endif // #ifndef INCLUDED_OS_CPU
double os_cpu_ClockFrequency()
size_t os_cpu_QueryMemorySize()
uintptr_t m_previousProcessorMask
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...
Status os_cpu_CallByEachCPU(OsCpuCallback cb, uintptr_t cbData)
execute the specified function once on each processor.
os_cpu_ScopedSetThreadAffinityMask(uintptr_t processorMask)
const Status OS_CPU_RESTRICTED_AFFINITY
size_t os_cpu_NumProcessors()
size_t os_cpu_LargePageSize()
uintptr_t os_cpu_SetThreadAffinityMask(uintptr_t processorMask)
restrict the current thread to a set of processors.
size_t os_cpu_MemorySize()
size_t os_cpu_MemoryAvailable()
i64 Status
Error handling system.
uintptr_t os_cpu_ProcessorMask()
~os_cpu_ScopedSetThreadAffinityMask()
void(* OsCpuCallback)(size_t processor, uintptr_t cbData)
called by os_cpu_CallByEachCPU.