MCPcopy Create free account
hub / github.com/Abc-Arbitrage/Disruptor-cpp / getProcessorCount

Function getProcessorCount

Disruptor/ThreadHelper_macOS.cpp:88–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87
88 size_t getProcessorCount()
89 {
90 return static_cast<size_t>(sysconf(_SC_NPROCESSORS_CONF));
91 }
92
93 uint32_t getCurrentProcessor()
94 {

Callers 1

getThreadAffinityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected