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

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

Issue 3003903002: Hide internal classes from Memory Profile (Closed)
Patch Set: Address CL comments Created 3 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 abstract class ClassHeapStats { 15 abstract class ClassHeapStats {
16 /// [Optional] at least one between clazz and displayName should be non null
16 ClassRef get clazz; 17 ClassRef get clazz;
18
19 /// [Optional] at least one between clazz and displayName should be non null
20 String get displayName;
17 Allocations get newSpace; 21 Allocations get newSpace;
18 Allocations get oldSpace; 22 Allocations get oldSpace;
19 int get promotedInstances; 23 int get promotedInstances;
20 int get promotedBytes; 24 int get promotedBytes;
21 } 25 }
22 26
23 abstract class Allocations { 27 abstract class Allocations {
24 AllocationCount get accumulated; 28 AllocationCount get accumulated;
25 AllocationCount get current; 29 AllocationCount get current;
26 } 30 }
27 31
28 abstract class AllocationCount { 32 abstract class AllocationCount {
29 int get instances; 33 int get instances;
30 int get bytes; 34 int get bytes;
31 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698