Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Abc-Arbitrage/Disruptor-cpp
/ getProcessorCount
Function
getProcessorCount
Disruptor/ThreadHelper_Linux.cpp:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
{
21
22
size_t getProcessorCount()
23
{
24
return sysconf(_SC_NPROCESSORS_CONF);
25
}
26
27
uint32_t getCurrentProcessor()
28
{
Callers
1
getThreadAffinity
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected