From 69768ec71e78dd1ea8da835b0a4eedbb1d404c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Locatti?= Date: Fri, 11 Nov 2022 05:36:47 -0300 Subject: Add CPU core count to log files --- src/common/x64/cpu_detect.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common/x64/cpu_detect.h') diff --git a/src/common/x64/cpu_detect.h b/src/common/x64/cpu_detect.h index 6830f3795..ca8db19d6 100644 --- a/src/common/x64/cpu_detect.h +++ b/src/common/x64/cpu_detect.h @@ -4,6 +4,7 @@ #pragma once +#include #include #include "common/common_types.h" @@ -74,4 +75,7 @@ struct CPUCaps { */ const CPUCaps& GetCPUCaps(); +/// Detects CPU core count +std::optional GetProcessorCount(); + } // namespace Common -- cgit v1.2.3