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 | 28aaaaf02ea6df6d7f3b1c8bbc258d1047beae0d (patch) | |
| tree | 54367d6738c02d478841563db0436dc99f46e240 /src/yuzu/main.cpp | |
| parent | 77885a5cb6655ea38d3308a1b161ee234e095353 (diff) | |
| parent | 6b465c859b5e0c42dde7e77d1b4502d2c04bfcd1 (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 d95915016a..032ff1cbcb 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", |
