Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: runtime/observatory/lib/src/models/objects/heap_snapshot.dart

Issue 2480293003: Observatory: Add view of dominator tree with siblings merged by class. (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/observatory/lib/src/heap_snapshot/heap_snapshot.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of models; 5 part of models;
6 6
7 abstract class HeapSnapshot { 7 abstract class HeapSnapshot {
8 DateTime get timestamp; 8 DateTime get timestamp;
9 int get objects; 9 int get objects;
10 int get references; 10 int get references;
11 int get size; 11 int get size;
12 HeapSnapshotDominatorNode get dominatorTree; 12 HeapSnapshotDominatorNode get dominatorTree;
13 HeapSnapshotMergedDominatorNode get mergedDominatorTree;
13 Iterable<HeapSnapshotClassReferences> get classReferences; 14 Iterable<HeapSnapshotClassReferences> get classReferences;
14 } 15 }
15 16
16 abstract class HeapSnapshotDominatorNode { 17 abstract class HeapSnapshotDominatorNode {
17 int get shallowSize; 18 int get shallowSize;
18 int get retainedSize; 19 int get retainedSize;
19 Future<ObjectRef> get object; 20 Future<ObjectRef> get object;
20 Iterable<HeapSnapshotDominatorNode> get children; 21 Iterable<HeapSnapshotDominatorNode> get children;
21 } 22 }
22 23
24 abstract class HeapSnapshotMergedDominatorNode {
25 int get instanceCount;
26 int get shallowSize;
27 int get retainedSize;
28 Future<ObjectRef> get klass;
29 Iterable<HeapSnapshotMergedDominatorNode> get children;
30 }
31
23 abstract class HeapSnapshotClassReferences { 32 abstract class HeapSnapshotClassReferences {
24 ClassRef get clazz; 33 ClassRef get clazz;
25 int get instances; 34 int get instances;
26 int get shallowSize; 35 int get shallowSize;
27 int get retainedSize; 36 int get retainedSize;
28 Iterable<HeapSnapshotClassInbound> get inbounds; 37 Iterable<HeapSnapshotClassInbound> get inbounds;
29 Iterable<HeapSnapshotClassOutbound> get outbounds; 38 Iterable<HeapSnapshotClassOutbound> get outbounds;
30 } 39 }
31 40
32 abstract class HeapSnapshotClassInbound { 41 abstract class HeapSnapshotClassInbound {
33 ClassRef get source; 42 ClassRef get source;
34 int get count; 43 int get count;
35 int get shallowSize; 44 int get shallowSize;
36 int get retainedSize; 45 int get retainedSize;
37 } 46 }
38 47
39 abstract class HeapSnapshotClassOutbound { 48 abstract class HeapSnapshotClassOutbound {
40 ClassRef get target; 49 ClassRef get target;
41 int get count; 50 int get count;
42 int get shallowSize; 51 int get shallowSize;
43 int get retainedSize; 52 int get retainedSize;
44 } 53 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/heap_snapshot/heap_snapshot.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698