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

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

Issue 2610253002: Added isolate + thread high watermark tracking to Observatory (Closed)
Patch Set: Converted uint values to uintptr_t Created 3 years, 11 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/isolate.dart
diff --git a/runtime/observatory/lib/src/models/objects/isolate.dart b/runtime/observatory/lib/src/models/objects/isolate.dart
index 8cc5c79595548bc8abda9071b39484360cf08eb0..3c69fec1d12914e202888c05cd4a0d16c618506a 100644
--- a/runtime/observatory/lib/src/models/objects/isolate.dart
+++ b/runtime/observatory/lib/src/models/objects/isolate.dart
@@ -54,6 +54,11 @@ abstract class Isolate extends IsolateRef {
/// The list of threads associated with this isolate.
Iterable<Thread> get threads;
+ /// The maximum amount of memory in bytes allocated by the isolate in all
+ /// threads at a given time. Calculated using the high watermarks of each
+ /// thread alive when a thread is unscheduled.
+ int get memoryHighWatermark;
+
/// The current pause on exception mode for this isolate.
//ExceptionPauseMode get exceptionPauseMode;
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.dart ('k') | runtime/observatory/lib/src/models/objects/thread.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698