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

            _textureBack    = Resources.Load("back") as Texture2D;
            _textureForward = Resources.Load("forward") as Texture2D;
        }
Example #3
0
 public void InitDump()
 {
     _shortestPathToRootFinder = new ShortestPathToRootFinder(_unpackedCrawl);
 }