MCPcopy Create free account
hub / github.com/beefytech/Beef / BfpSystem_GetNumLogicalCPUs

Function BfpSystem_GetNumLogicalCPUs

BeefySysLib/platform/win/Platform.cpp:1183–1189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181}
1182
1183BFP_EXPORT int BFP_CALLTYPE BfpSystem_GetNumLogicalCPUs(BfpSystemResult* outResult)
1184{
1185 SYSTEM_INFO sysInfo;
1186 GetSystemInfo(&sysInfo);
1187 OUTRESULT(BfpSystemResult_Ok);
1188 return sysInfo.dwNumberOfProcessors;
1189}
1190
1191BFP_EXPORT int64 BFP_CALLTYPE BfpSystem_GetCPUTick()
1192{

Callers 1

CompileMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected