Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ CpuCores
Method
CpuCores
libs/platform/platform.cpp:339–343 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
337
}
338
339
unsigned Platform::CpuCores()
340
{
341
unsigned const cores = std::thread::hardware_concurrency();
342
return cores > 0 ? cores : 1;
343
}
344
345
void Platform::ShutdownThreads()
346
{
Callers
8
main
Function · 0.80
BuildIndex
Method · 0.80
complex_generator.cpp
File · 0.80
parser_tool.cpp
File · 0.80
generator_tool.cpp
File · 0.80
Init
Method · 0.80
main
Function · 0.80
UNIT_TEST
Function · 0.80
Calls
no outgoing calls
Tested by
2
Init
Method · 0.64
UNIT_TEST
Function · 0.64