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

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

Issue 2255613002: Converted Observatory heap-profile element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Better sorting tests Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
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;
+}
« no previous file with comments | « runtime/observatory/lib/src/elements/service_view.html ('k') | runtime/observatory/lib/src/models/objects/heap_space.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698