Index: runtime/vm/os.h |
diff --git a/runtime/vm/os.h b/runtime/vm/os.h |
index a86889b4c6240819911b1d14b0c24a61166fde71..3b9ac0d090dc6a1e7d1f1f8596ad0debb643af71 100644 |
--- a/runtime/vm/os.h |
+++ b/runtime/vm/os.h |
@@ -100,6 +100,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); |