MCPcopy 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
109int GetNumCores()
110{
111 return std::thread::hardware_concurrency();
112}
113
114std::optional<size_t> GetTotalRAM()
115{

Callers 5

ThreadPoolFixtureMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
OptionsDialogMethod · 0.85
ApplyArgsManOptionsFunction · 0.85

Calls

no outgoing calls

Tested by 2

ThreadPoolFixtureMethod · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68