Files
Ryan Houdek 7ca757bb6d FEXCore: Move CPUInfo to FEX
This is only ever used in the frontend now.
2025-04-08 22:54:43 -07:00

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