Index: runtime/vm/os.h |
diff --git a/runtime/vm/os.h b/runtime/vm/os.h |
index ee37e15d9befbd6bc1fc4179b3e192a191f724f7..d1ec21490966894ea21f4167b6366df3d37058b5 100644 |
--- a/runtime/vm/os.h |
+++ b/runtime/vm/os.h |
@@ -79,6 +79,9 @@ class OS { |
// Returns number of available processor cores. |
static int NumberOfAvailableProcessors(); |
+ // Returns the maximium resident set size of this process. |
+ static uintptr_t MaxRSS(); |
+ |
// Sleep the currently executing thread for millis ms. |
static void Sleep(int64_t millis); |