예제 #1
0
 public void ReadEvents()
 {
     if (items == null)
     {
         model.heapEventProcessor.RecordAllocations = true;
         foreach (SeekableLogFileReader.Block eventBlock in eventBlocks)
         {
             model.Reader.ReadBlock(eventBlock).Decode(model.heapEventProcessor, model.Reader);
         }
         items = new AllocatedObjectSetFromEvents(eventBlocks [0].TimeFromStart, model.heapEventProcessor.AllocatedObjects);
         model.Model.SetValue(TreeIter, 0, this);
     }
 }
예제 #2
0
 public AllocationsNode(HeapExplorerTreeModel model, SeekableLogFileReader.Block[] eventBlocks, AllocationsNode previousAllocationsNode) : base(model, null, previousAllocationsNode)
 {
     this.eventBlocks = eventBlocks;
     this.items       = null;
 }