mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Instrumentation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user