Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ GetNumCores
Function
GetNumCores
src/common/system.cpp:109–112 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
107
}
108
109
int GetNumCores()
110
{
111
return std::thread::hardware_concurrency();
112
}
113
114
std::optional<size_t> GetTotalRAM()
115
{
Callers
5
ThreadPoolFixture
Method · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
OptionsDialog
Method · 0.85
CCheckQueueSpeedPrevectorJob
Function · 0.85
ApplyArgsManOptions
Function · 0.85
Calls
no outgoing calls
Tested by
2
ThreadPoolFixture
Method · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68