internal static void Postfix(float currentFrameTime, float frameTimeDelta, BrainScheduler.BrainGroup __instance) { DebugMetrics.LogBrainBalance(__instance.GetType().Name, frameTimeDelta, currentFrameTime, __instance.probeCount, __instance.probeSize); }
/// <summary> /// Logs a method invocation. /// </summary> /// <param name="time">The time it took the method to run in microseconds.</param> public void Log(long time) { Interlocked.Increment(ref methodCalls); DebugMetrics.Accumulate(ref timeInMethod, time); }