예제 #1
0
        public void ReportFrameFinished()
        {
            if (nextFree >= pool.Length && nextOverflowLogTime < NetworkTime.localTime)
            {
                NetworkLog.Warning(NetworkLogFlags.Server, "uLink detected risk for major GC spikes. Unreliable outgoing BitStreamPool (isTypesafe: ", isTypesafe, ") overflow, pool capacity ", pool.Length, ", usage was ", nextFree);
                nextOverflowLogTime = NetworkTime.localTime + OVERFLOW_LOG_INTERVAL;
            }

            nextFree = 0;
        }