private static SledMemoryTraceStream Create(char what, int oldSize, int newSize, string oldAddres, string newAddress)
        {
            var stream =
                new SledMemoryTraceStream
            {
                Order = s_iNumMemoryTrace++,
                What  = (what == 'a'
                                    ? Localization.SledLuaMemoryTraceAlloc
                                    : (what == 'r'
                                           ? Localization.SledLuaMemoryTraceRealloc
                                           : Localization.SledLuaMemoryTraceDealloc)),
                OldSize    = oldSize,
                NewSize    = newSize,
                OldAddress = oldAddres,
                NewAddress = newAddress
            };

            return(stream);
        }
 private void RemoteTargetMemoryTraceStreamAdd(SledMemoryTraceStream mt)
 {
     m_trace.Add(mt.Order, mt);
     m_bDirty = true;
 }