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"); |