Skip to content

Commit

Permalink
runtime comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Aug 24, 2024
1 parent 4a19d59 commit e73ec9a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/DotRecast.Recast.Demo/RecastDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ 3. This notice may not be removed or altered from any source distribution.
using System.IO;
using System.Linq;
using System.Numerics;
using System.Runtime;
using System.Runtime.InteropServices;
using DotRecast.Core;
using Serilog;
using Silk.NET.Input;
Expand Down Expand Up @@ -409,9 +411,17 @@ private void OnWindowOnLoad()

var workingDirectory = Directory.GetCurrentDirectory();
Logger.Information($"Working directory - {workingDirectory}");
Logger.Information($"ImGui.Net - version({ImGui.GetVersion()}) UI scale({scale}) fontSize({fontSize})");
Logger.Information($"Dotnet - {Environment.Version.ToString()} culture({currentCulture.Name})");
Logger.Information($"OS Version - {Environment.OSVersion} {bitness}");
Logger.Information($"{RuntimeInformation.OSArchitecture} {RuntimeInformation.OSDescription}");
Logger.Information($"{RuntimeInformation.ProcessArchitecture} {RuntimeInformation.FrameworkDescription}");
Logger.Information($"Dotnet - {Environment.Version.ToString()} culture({currentCulture.Name})");
Logger.Information($"Processor Count : {Environment.ProcessorCount}");

Logger.Information($"Server garbage collection : {(GCSettings.IsServerGC ? "Enabled" : "Disabled")}");
Logger.Information($"Current latency mode for garbage collection: {GCSettings.LatencyMode}");
Logger.Information("");

Logger.Information($"ImGui.Net - version({ImGui.GetVersion()}) UI scale({scale}) fontSize({fontSize})");
Logger.Information($"{vendor} {rendererGl}");
Logger.Information($"gl version({version}) lang version({glslString})");
}
Expand Down

0 comments on commit e73ec9a

Please sign in to comment.