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

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

Issue 2294073003: Converted Observatory class-view element (Closed)
Patch Set: Addressed comments Created 4 years, 3 months 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
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 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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698