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); } }
public AllocationsNode(HeapExplorerTreeModel model, SeekableLogFileReader.Block[] eventBlocks, AllocationsNode previousAllocationsNode) : base(model, null, previousAllocationsNode) { this.eventBlocks = eventBlocks; this.items = null; }