aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorMatías Locatti <matias.locatti@gmail.com>2022-11-11 05:36:47 -0300
committerMatías Locatti <matias.locatti@gmail.com>2022-11-11 23:50:48 -0300
commit69768ec71e78dd1ea8da835b0a4eedbb1d404c28 (patch)
tree6d08d9fb38829e99614c912ee971e98068dbc3d1 /src/yuzu/main.cpp
parent5eb30c7827959075cd240f39c6ab57d2c2a8197e (diff)
Add CPU core count to log files
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 01a002e4f3..0a0d3668cd 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -362,6 +362,10 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan
}
LOG_INFO(Frontend, "Host CPU: {}", cpu_string);
#endif
+
+ if (std::optional<int> 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",