summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-01-01 16:50:12 +0000
committersr55 <[email protected]>2019-01-01 16:50:21 +0000
commit5d76e3f7fcee2a518fa1d1c015c73cb878301c74 (patch)
tree68796cc23b26c87f5cd8e9b7a109da0e365b99c2
parente95a1e43f7bb111a9431ba5b97f3fcd1610a07fa (diff)
WinGui: Add CPU info back into the log header as it's not always available in the log body.
-rw-r--r--win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs
index c80a12408..f03d16f2c 100644
--- a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs
+++ b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs
@@ -109,6 +109,7 @@ namespace HandBrakeWPF.Utilities
logHeader.AppendLine(string.Format("HandBrake {0}", VersionHelper.GetVersion()));
logHeader.AppendLine(string.Format("OS: {0}", Environment.OSVersion));
+ logHeader.AppendLine(string.Format("CPU: {0}", SystemInfo.GetCpuCount));
logHeader.AppendLine(string.Format("Ram: {0} MB, ", SystemInfo.TotalPhysicalMemory));
logHeader.AppendLine(string.Format("GPU Information:{0}{1}", Environment.NewLine, gpuBuilder.ToString().TrimEnd()));
logHeader.AppendLine(string.Format("Screen: {0}x{1}", SystemInfo.ScreenBounds.Bounds.Width, SystemInfo.ScreenBounds.Bounds.Height));