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

Unified Diff: runtime/vm/os.h

Issue 2999933002: Revert "Add current rss and embedder name to Observatory" (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « runtime/vm/metrics.cc ('k') | runtime/vm/os_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « runtime/vm/metrics.cc ('k') | runtime/vm/os_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698