Index: runtime/bin/process.cc |
diff --git a/runtime/bin/process.cc b/runtime/bin/process.cc |
index 6c5171c1145f6f01dbf744b1741fd113f717aece..6ecdbca16515e9a0160d6652c8c673492cdb83b2 100644 |
--- a/runtime/bin/process.cc |
+++ b/runtime/bin/process.cc |
@@ -369,6 +369,13 @@ void FUNCTION_NAME(ProcessInfo_MaxRSS)(Dart_NativeArguments args) { |
Dart_SetIntegerReturnValue(args, max_rss); |
} |
+void Process::GetRSSInformation(int64_t* max_rss, int64_t* current_rss) { |
+ ASSERT(max_rss != NULL); |
+ ASSERT(current_rss != NULL); |
+ *max_rss = Process::MaxRSS(); |
+ *current_rss = Process::CurrentRSS(); |
+} |
+ |
} // namespace bin |
} // namespace dart |