MCPcopy Create free account
hub / github.com/cisco/openh264 / WelsQueryLogicalProcessInfo

Function WelsQueryLogicalProcessInfo

codec/common/src/WelsThreadLib.cpp:219–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219WELS_THREAD_ERROR_CODE WelsQueryLogicalProcessInfo (WelsLogicalProcessInfo* pInfo) {
220 SYSTEM_INFO si;
221
222 GetSystemInfo (&si);
223
224 pInfo->ProcessorCount = si.dwNumberOfProcessors;
225
226 return WELS_THREAD_ERROR_OK;
227}
228
229#else //platform: #ifdef _WIN32
230

Callers 2

DynamicDetectCpuCoresFunction · 0.85
GetCPUCountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected