Home | History | Annotate | Download | only in src

Lines Matching refs:Instance

24 import com.android.tools.perflib.heap.Instance;
55 Instance inst = mSnapshot.findInstance(id);
161 Doc doc, Query query, AhatSnapshot snapshot, Instance inst) {
167 List<Instance> references = inst.getHardReferences();
168 SubsetSelector<Instance> selector = new SubsetSelector(query, HARD_REFS_ID, references);
169 for (Instance ref : selector.selected()) {
179 List<Instance> references = inst.getSoftReferences();
180 SubsetSelector<Instance> selector = new SubsetSelector(query, SOFT_REFS_ID, references);
181 for (Instance ref : selector.selected()) {
189 private void printAllocationSite(Doc doc, Query query, Instance inst) {
195 // Draw the bitmap corresponding to this instance if there is one.
196 private static void printBitmap(Doc doc, Instance inst) {
197 Instance bitmap = InstanceUtils.getAssociatedBitmapInstance(inst);
205 private void printDominatorPath(Doc doc, Query query, Instance inst) {
207 List<Instance> path = new ArrayList<Instance>();
208 for (Instance parent = inst;
218 HeapTable.TableConfig<Instance> table = new HeapTable.TableConfig<Instance>() {
223 public long getSize(Instance element, Heap heap) {
231 public List<HeapTable.ValueConfig<Instance>> getValueConfigs() {
232 HeapTable.ValueConfig<Instance> value = new HeapTable.ValueConfig<Instance>() {
237 public DocString render(Instance element) {
251 public void printDominatedObjects(Doc doc, Query query, Instance inst) {
253 List<Instance> instances = mSnapshot.getDominated(inst);