예제 #1
0
    internal void Statistics(long AddedBytes, long RealTime, VirtualConnection vConnection)
    {
        if (zSeg != null)
        {
            long lTime  = Interlocked.Read(ref RealTime);
            long rBytes = Interlocked.Read(ref AddedBytes);

            zSeg.Statistics(rBytes, lTime);

            VirtualSlot vSlot = vConnection.Scheduler.Slots.Item(zSeg.SlotID);

            if (vSlot != null)
            {
                vSlot.Statistics(rBytes, lTime);
            }
        }
    }