summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-01-01 16:50:12 +0000
committersr55 <[email protected]>2019-01-01 16:50:12 +0000
commit2a01285a61baf854abd3f4daca66e2e33cdecc9e (patch)
tree07babf6ad23d81d2391f0e08b1d95e1118811102 /win/CS
parentbc3b03a612e9889f3d50459982c49db70705e3eb (diff)
WinGui: Add CPU info back into the log header as it's not always available in the log body.
Diffstat (limited to 'win/CS')
-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));