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

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

Issue 2608463002: Added isolate + thread high watermark tracking to Observatory (Closed)
Patch Set: Added tracking of memory usage inside of threads. In addition, the max memory usage is kept track o… Created 4 years 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/thread.dart
diff --git a/runtime/observatory/lib/src/models/objects/thread.dart b/runtime/observatory/lib/src/models/objects/thread.dart
index a62353f7b3c88aa0689f8d2a119e03dfa8c87bb7..7bff72c9191eb98a34a8a0a5a15c7741dee29909 100644
--- a/runtime/observatory/lib/src/models/objects/thread.dart
+++ b/runtime/observatory/lib/src/models/objects/thread.dart
@@ -20,6 +20,10 @@ abstract class Thread {
/// The task type associated with the thread.
ThreadKind get kind;
+ /// The maximum amount of memory in bytes allocated by a thread at a given
+ /// time throughout the entire life of the thread.
+ int get memoryHighWatermark;
+
/// A list of all the zones held by the thread.
Iterable<Zone> get zones;
}
« no previous file with comments | « runtime/observatory/lib/src/models/objects/isolate.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698