HeapProfiler.MainWindow.GetBytesAllocated C# (CSharp) Method

GetBytesAllocated() public method

public GetBytesAllocated ( HeapSnapshotInfo item ) : long
item HeapSnapshotInfo
return long
        public long GetBytesAllocated(HeapSnapshotInfo item)
        {
            FilteredHeapSnapshotInfo info = item;

            if (CurrentFilterData != null)
                if (!CurrentFilterData.TryGetValue(item, out info))
                    info = item;

            return (long)(info.BytesAllocated);
        }
MainWindow