mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 12:00:17 +02:00
15 lines
331 B
C++
15 lines
331 B
C++
// SPDX-License-Identifier: MIT
|
|
#pragma once
|
|
#include <FEXCore/Utils/CompilerDefs.h>
|
|
|
|
#include <cstdint>
|
|
|
|
namespace FEX::CPUInfo {
|
|
/**
|
|
* @brief Calculate the number of CPUs in the system regardless of affinity mask.
|
|
*
|
|
* @return The number of CPUs in the system.
|
|
*/
|
|
uint32_t CalculateNumberOfCPUs();
|
|
} // namespace FEX::CPUInfo
|