diff options
| author | 2022-11-10 15:46:08 -0300 | |
|---|---|---|
| committer | 2022-11-10 15:46:08 -0300 | |
| commit | 766941f1a32857666d11b33578af2249f78306ce (patch) | |
| tree | c338c15cd62f697eaa21ee84abe00368e263e09b /src | |
| parent | Merge pull request #9182 from liamwhite/services-are-processes (diff) | |
| download | yuzu-766941f1a32857666d11b33578af2249f78306ce.tar.gz yuzu-766941f1a32857666d11b33578af2249f78306ce.tar.xz yuzu-766941f1a32857666d11b33578af2249f78306ce.zip | |
Add CPU thread count to log files
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 59e56633a..1f238c913 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -342,6 +342,7 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan | |||
| 342 | const auto override_build = | 342 | const auto override_build = |
| 343 | fmt::format(fmt::runtime(std::string(Common::g_title_bar_format_idle)), build_id); | 343 | fmt::format(fmt::runtime(std::string(Common::g_title_bar_format_idle)), build_id); |
| 344 | const auto yuzu_build_version = override_build.empty() ? yuzu_build : override_build; | 344 | const auto yuzu_build_version = override_build.empty() ? yuzu_build : override_build; |
| 345 | const auto processor_count = std::thread::hardware_concurrency(); | ||
| 345 | 346 | ||
| 346 | LOG_INFO(Frontend, "yuzu Version: {}", yuzu_build_version); | 347 | LOG_INFO(Frontend, "yuzu Version: {}", yuzu_build_version); |
| 347 | LogRuntimes(); | 348 | LogRuntimes(); |
| @@ -361,6 +362,7 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan | |||
| 361 | } | 362 | } |
| 362 | LOG_INFO(Frontend, "Host CPU: {}", cpu_string); | 363 | LOG_INFO(Frontend, "Host CPU: {}", cpu_string); |
| 363 | #endif | 364 | #endif |
| 365 | LOG_INFO(Frontend, "Host CPU thread count: {}", processor_count); | ||
| 364 | LOG_INFO(Frontend, "Host OS: {}", PrettyProductName().toStdString()); | 366 | LOG_INFO(Frontend, "Host OS: {}", PrettyProductName().toStdString()); |
| 365 | LOG_INFO(Frontend, "Host RAM: {:.2f} GiB", | 367 | LOG_INFO(Frontend, "Host RAM: {:.2f} GiB", |
| 366 | Common::GetMemInfo().TotalPhysicalMemory / f64{1_GiB}); | 368 | Common::GetMemInfo().TotalPhysicalMemory / f64{1_GiB}); |