Index: runtime/vm/thread_registry.h |
diff --git a/runtime/vm/thread_registry.h b/runtime/vm/thread_registry.h |
index 881a4d0b03b517f98b8c8c07ecf2f32f40efad25..97ceb909ebe8150d753ad4550536e88b490e0647 100644 |
--- a/runtime/vm/thread_registry.h |
+++ b/runtime/vm/thread_registry.h |
@@ -37,6 +37,9 @@ class ThreadRegistry { |
void PrintJSON(JSONStream* stream) const; |
#endif |
+ // Calculates the sum of the max memory usage in bytes of each thread. |
+ uint ThreadHighWatermarksTotalLocked() const; |
+ |
private: |
Thread* active_list() const { return active_list_; } |
Monitor* threads_lock() const { return threads_lock_; } |