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

Function GetCPUCount

codec/decoder/core/src/wels_decoder_thread.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#include <stdlib.h>
45
46int32_t GetCPUCount() {
47 WelsLogicalProcessInfo pInfo;
48 pInfo.ProcessorCount = 1;
49 WelsQueryLogicalProcessInfo (&pInfo);
50 return pInfo.ProcessorCount;
51}
52
53int ThreadCreate (SWelsDecThread* t, LPWELS_THREAD_ROUTINE tf, void* ta) {
54 WELS_THREAD_ATTR attr = 0;

Callers 1

CWelsDecoderMethod · 0.85

Calls 1

Tested by

no test coverage detected