| 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 abstract class AllocationProfile { | 7 abstract class AllocationProfile { |
| 8 DateTime get lastServiceGC; | 8 DateTime get lastServiceGC; |
| 9 DateTime get lastAccumulatorReset; | 9 DateTime get lastAccumulatorReset; |
| 10 HeapSpace get newSpace; | 10 HeapSpace get newSpace; |
| 11 HeapSpace get oldSpace; | 11 HeapSpace get oldSpace; |
| 12 Iterable<ClassHeapStats> get members; | 12 Iterable<ClassHeapStats> get members; |
| 13 } | 13 } |
| 14 | 14 |
| 15 | |
| 16 abstract class ClassHeapStats { | 15 abstract class ClassHeapStats { |
| 17 ClassRef get clazz; | 16 ClassRef get clazz; |
| 18 Allocations get newSpace; | 17 Allocations get newSpace; |
| 19 Allocations get oldSpace; | 18 Allocations get oldSpace; |
| 20 int get promotedInstances; | 19 int get promotedInstances; |
| 21 int get promotedBytes; | 20 int get promotedBytes; |
| 22 } | 21 } |
| 23 | 22 |
| 24 abstract class Allocations { | 23 abstract class Allocations { |
| 25 AllocationCount get accumulated; | 24 AllocationCount get accumulated; |
| 26 AllocationCount get current; | 25 AllocationCount get current; |
| 27 } | 26 } |
| 28 | 27 |
| 29 abstract class AllocationCount { | 28 abstract class AllocationCount { |
| 30 int get instances; | 29 int get instances; |
| 31 int get bytes; | 30 int get bytes; |
| 32 } | 31 } |
| OLD | NEW |