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

Unified Diff: tools/render_pdfs_main.cpp

Issue 483323002: Print max RSS in GM and nanobench too. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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
« bench/nanobench.cpp ('K') | « tools/ProcStats.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/render_pdfs_main.cpp
diff --git a/tools/render_pdfs_main.cpp b/tools/render_pdfs_main.cpp
index a1bd62d4f460228b52d47fcdd4e5a8700dff734a..8e791d9608dd9b0e1009e9e16aa8ab0cc419f971 100644
--- a/tools/render_pdfs_main.cpp
+++ b/tools/render_pdfs_main.cpp
@@ -268,9 +268,9 @@ int tool_main_core(int argc, char** argv) {
++failures;
}
- int max_rss_kb = sk_tools::getMaxResidentSetSizeKB();
- if (max_rss_kb >= 0) {
- SkDebugf(" %4dM peak rss", max_rss_kb / 1024);
+ int max_rss_mb = sk_tools::getMaxResidentSetSizeMB();
+ if (max_rss_mb >= 0) {
+ SkDebugf(" %4dM peak rss", max_rss_mb);
}
SkDebugf("\n");
« bench/nanobench.cpp ('K') | « tools/ProcStats.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698