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/yuzu/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/yuzu/main.cpp') diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 01a002e4f..0a0d3668c 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -362,6 +362,10 @@ GMainWindow::GMainWindow(std::unique_ptr config_, bool has_broken_vulkan } LOG_INFO(Frontend, "Host CPU: {}", cpu_string); #endif + + if (std::optional processor_core = Common::GetProcessorCount()) { + LOG_INFO(Frontend, "Host CPU Cores: {}", *processor_core); + } LOG_INFO(Frontend, "Host CPU Threads: {}", processor_count); LOG_INFO(Frontend, "Host OS: {}", PrettyProductName().toStdString()); LOG_INFO(Frontend, "Host RAM: {:.2f} GiB", -- cgit v1.2.3