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

Unified Diff: runtime/vm/metrics.cc

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.h ('k') | runtime/vm/os.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/metrics.cc
diff --git a/runtime/vm/metrics.cc b/runtime/vm/metrics.cc
index 94fd0bf63f437cb5b9fe94e993dc2133482d49d3..afb7b879bc9776860101d6464037e4327f9de6a3 100644
--- a/runtime/vm/metrics.cc
+++ b/runtime/vm/metrics.cc
@@ -289,12 +289,8 @@ int64_t MetricIsolateCount::Value() const {
return Isolate::IsolateListLength();
}
-int64_t MetricCurrentRSS::Value() const {
- return Service::CurrentRSS();
-}
-
int64_t MetricPeakRSS::Value() const {
- return Service::MaxRSS();
+ return OS::MaxRSS();
}
#define VM_METRIC_VARIABLE(type, variable, name, unit) \
« no previous file with comments | « runtime/vm/metrics.h ('k') | runtime/vm/os.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698