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

Unified Diff: runtime/vm/thread_registry.h

Issue 2609253002: Added isolate + thread high watermark tracking to Observatory (Closed)
Patch Set: Merge branch 'master' of github.com:dart-lang/sdk into resubmit 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/vm/thread_registry.h
diff --git a/runtime/vm/thread_registry.h b/runtime/vm/thread_registry.h
index 0742d22095d30fa92d3fa6d2a3d74c4296d21a69..d09d39cda3258706cc772784e2761dbb2036c210 100644
--- a/runtime/vm/thread_registry.h
+++ b/runtime/vm/thread_registry.h
@@ -37,6 +37,8 @@ class ThreadRegistry {
void PrintJSON(JSONStream* stream) const;
#endif
+ // Calculates the sum of the max memory usage in bytes of each thread.
+ uint ThreadHighWatermarksTotalLocked() const;
intptr_t CountZoneHandles() const;
intptr_t CountScopedHandles() const;

Powered by Google App Engine
This is Rietveld 408576698