Instrumentation

This commit is contained in:
Simon Lübeß
2022-01-14 21:49:15 +01:00
parent 78faf4cb81
commit 06469f3350
44 changed files with 481 additions and 30 deletions
+5
View File
@@ -1,5 +1,6 @@
using System;
using GlitchLog;
using GlitchyEngine.Debug;
using System.Diagnostics;
namespace GlitchyEngine
@@ -11,6 +12,8 @@ namespace GlitchyEngine
public static int Main(String[] args)
{
Debug.Profiler.BeginProfiling();
Log.EngineLogger.Info("Initializing Application...");
Stopwatch initWatch = scope Stopwatch();
@@ -30,6 +33,8 @@ namespace GlitchyEngine
Log.EngineLogger.Info("Application uninitialized.");
Debug.Profiler.EndProfiling();
return 0;
}
}