diff --git a/src/Debug/EcsDebug.cs b/src/Debug/EcsDebug.cs index de0dba5..bb7bbef 100644 --- a/src/Debug/EcsDebug.cs +++ b/src/Debug/EcsDebug.cs @@ -176,7 +176,11 @@ namespace DCFApixels.DragonECS } public override void ProfilerMarkBegin(int id) { + var color = Console.ForegroundColor; + Console.ForegroundColor = ConsoleColor.DarkGray; _stopwatchs[id].Start(); + Print("ProfilerMark", $"{_stopwatchsNames[id]} start <"); + Console.ForegroundColor = color; } public override void ProfilerMarkEnd(int id) { @@ -185,7 +189,7 @@ namespace DCFApixels.DragonECS _stopwatchs[id].Stop(); var time = _stopwatchs[id].Elapsed; _stopwatchs[id].Reset(); - Print("ProfilerMark", _stopwatchsNames[id] + " s:" + time.TotalSeconds); + Print("ProfilerMark", $"> {_stopwatchsNames[id]} s:{time.TotalSeconds}"); Console.ForegroundColor = color; } protected override void OnDelProfilerMark(int id)