MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetProcessorIdForProcessor

Function GetProcessorIdForProcessor

pcsx2/VMManager.cpp:3531–3540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3529#if defined(__linux__) || defined(_WIN32)
3530
3531static u32 GetProcessorIdForProcessor(const cpuinfo_processor* proc)
3532{
3533#if defined(__linux__)
3534 return static_cast<u32>(proc->linux_id);
3535#elif defined(_WIN32)
3536 return static_cast<u32>(proc->windows_processor_id);
3537#else
3538 return 0;
3539#endif
3540}
3541
3542static void InitializeProcessorList()
3543{

Callers 1

InitializeProcessorListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected