diff options
author | Mai <mathew1800@gmail.com> | 2022-11-12 03:19:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-12 03:19:26 +0000 |
commit | 7dfe35eca69c5c59f32c8ffa3d3adc5e7806c011 (patch) | |
tree | 54367d6738c02d478841563db0436dc99f46e240 /src/yuzu/main.cpp | |
parent | e4d55e4ee46403bf8d32f6bce21eb932a348f473 (diff) | |
parent | 69768ec71e78dd1ea8da835b0a4eedbb1d404c28 (diff) |
Merge pull request #9231 from goldenx86/corecount
Add CPU core count to log files
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d95915016..032ff1cbc 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", |