Code cleanup

This commit is contained in:
Stone_Red
2026-06-10 03:22:45 +02:00
parent f6e03c052e
commit 3a635e85df
6 changed files with 11 additions and 23 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ public static class ProcessManager
int tickTimeMs = (int)stopwatch.ElapsedMilliseconds;
entry.Metrics.LastTickTimeMs = tickTimeMs;
entry.Metrics.AverageTickTimeMs = (entry.Metrics.AverageTickTimeMs * 7 + tickTimeMs) / 8;
entry.Metrics.AverageTickTimeMs = ((entry.Metrics.AverageTickTimeMs * 7) + tickTimeMs) / 8;
}
else
{
+4 -10
View File
@@ -1,14 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RemSox.Processing;
namespace RemSox.Processing
public class ProcessMetrics
{
public class ProcessMetrics
{
public int AverageTickTimeMs { get; set; }
public int AverageTickTimeMs { get; set; }
public int LastTickTimeMs { get; set; }
}
public int LastTickTimeMs { get; set; }
}