OLD | NEW |
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 enum ProfileTreeDirection { inclusive, exclusive } | 7 enum ProfileTreeDirection { inclusive, exclusive } |
8 | 8 |
9 abstract class SampleProfile { | 9 abstract class SampleProfile { |
10 int get sampleCount; | 10 int get sampleCount; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 CodeCallTree filtered(CallTreeNodeFilter filter); | 46 CodeCallTree filtered(CallTreeNodeFilter filter); |
47 } | 47 } |
48 | 48 |
49 abstract class FunctionCallTree extends CallTree { | 49 abstract class FunctionCallTree extends CallTree { |
50 FunctionCallTreeNode get root; | 50 FunctionCallTreeNode get root; |
51 FunctionCallTree filtered(CallTreeNodeFilter filter); | 51 FunctionCallTree filtered(CallTreeNodeFilter filter); |
52 } | 52 } |
53 | 53 |
54 abstract class CallTreeNode { | 54 abstract class CallTreeNode { |
55 double get percentage; | 55 double get percentage; |
| 56 int get inclusiveNativeAllocations; |
| 57 int get exclusiveNativeAllocations; |
56 Iterable<CallTreeNode> get children; | 58 Iterable<CallTreeNode> get children; |
57 } | 59 } |
58 | 60 |
59 abstract class CodeCallTreeNode extends CallTreeNode { | 61 abstract class CodeCallTreeNode extends CallTreeNode { |
60 ProfileCode get profileCode; | 62 ProfileCode get profileCode; |
61 Iterable<CodeCallTreeNode> get children; | 63 Iterable<CodeCallTreeNode> get children; |
62 } | 64 } |
63 | 65 |
64 abstract class FunctionCallTreeNode extends CallTreeNode { | 66 abstract class FunctionCallTreeNode extends CallTreeNode { |
65 ProfileFunction get profileFunction; | 67 ProfileFunction get profileFunction; |
66 Iterable<FunctionCallTreeNode> get children; | 68 Iterable<FunctionCallTreeNode> get children; |
67 } | 69 } |
OLD | NEW |