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

Unified Diff: dm/DM.cpp

Issue 990723002: DM: display current memory usage (instead of peak) when available. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: better best Created 5 years, 9 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 | « bench/nanobench.cpp ('k') | tools/ProcStats.h » ('j') | tools/ProcStats.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 4ab5da975ee7785b2085957ab72e114cc4eac7e5..66c50523b347dd954f26aa3819138c00907f0723 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -58,7 +58,7 @@ static void done(double ms,
}
auto pending = sk_atomic_dec(&gPending)-1;
SkDebugf("%s(%4dMB %5d) %s\t%s %s %s%s", FLAGS_verbose ? "\n" : kSkOverwriteLine
- , sk_tools::getMaxResidentSetSizeMB()
+ , sk_tools::getBestResidentSetSizeMB()
, pending
, HumanizeMs(ms).c_str()
, config.c_str()
« no previous file with comments | « bench/nanobench.cpp ('k') | tools/ProcStats.h » ('j') | tools/ProcStats.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698