Example #1
0
 public Inspector(IMemoryProfilerWindow hostWindow, CrawledMemorySnapshot unpackedCrawl, PackedMemorySnapshot snapshot)
 {
     _unpackedCrawl            = unpackedCrawl;
     _hostWindow               = hostWindow;
     _shortestPathToRootFinder = new ShortestPathToRootFinder(unpackedCrawl);
     _primitiveValueReader     = new PrimitiveValueReader(_unpackedCrawl.virtualMachineInformation, _unpackedCrawl.managedHeap);
 }
Example #2
0
        public void Setup(IMemoryProfilerWindow hostWindow, CrawledMemorySnapshot _unpackedCrawl)
        {
            this._unpackedCrawl = _unpackedCrawl;
            this._hostWindow    = hostWindow;

            _ZoomArea = new ZoomArea(true)
            {
                vRangeMin     = -110f,
                vRangeMax     = 110f,
                hRangeMin     = -110f,
                hRangeMax     = 110f,
                hBaseRangeMin = -110f,
                vBaseRangeMin = -110f,
                hBaseRangeMax = 110f,
                vBaseRangeMax = 110f,
                shownArea     = new Rect(-110f, -110f, 220f, 220f)
            };
            RefreshCaches();
            RefreshMesh();
        }