]> granicus.if.org Git - handbrake/commitdiff
WinGui: Add CPU info back into the log header as it's not always available in the...
authorsr55 <sr55.hb@outlook.com>
Tue, 1 Jan 2019 16:50:12 +0000 (16:50 +0000)
committersr55 <sr55.hb@outlook.com>
Tue, 1 Jan 2019 16:50:12 +0000 (16:50 +0000)
win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs

index c80a12408d14d34acd6f37c46d29663f5a6fb2d0..f03d16f2cab94c49f07014e3fd7d5fe9fd74bec7 100644 (file)
@@ -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));