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;
        }