| Index: runtime/observatory/lib/src/models/objects/allocation_profile.dart
|
| diff --git a/runtime/observatory/lib/src/models/objects/allocation_profile.dart b/runtime/observatory/lib/src/models/objects/allocation_profile.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f9e17a5a3a2def1a0ab4f4f330ab28aa1b18184d
|
| --- /dev/null
|
| +++ b/runtime/observatory/lib/src/models/objects/allocation_profile.dart
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file
|
| +
|
| +part of models;
|
| +
|
| +abstract class AllocationProfile {
|
| + DateTime get lastServiceGC;
|
| + DateTime get lastAccumulatorReset;
|
| + HeapSpace get newSpace;
|
| + HeapSpace get oldSpace;
|
| + Iterable<ClassHeapStats> get members;
|
| +}
|
| +
|
| +
|
| +abstract class ClassHeapStats {
|
| + ClassRef get clazz;
|
| + Allocations get newSpace;
|
| + Allocations get oldSpace;
|
| + int get promotedInstances;
|
| + int get promotedBytes;
|
| +}
|
| +
|
| +abstract class Allocations {
|
| + AllocationCount get accumulated;
|
| + AllocationCount get current;
|
| +}
|
| +
|
| +abstract class AllocationCount {
|
| + int get instances;
|
| + int get bytes;
|
| +}
|
|
|