Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index 7f012bc79ce8337bac4a9365c0984b2d7fc090c9..674cab9dc0fe8cc2f3e0a25edc1f9ba7d717d74b 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -18,6 +18,7 @@ |
#include "gm_expectations.h" |
#include "system_preferences.h" |
#include "CrashHandler.h" |
+#include "ProcStats.h" |
#include "Resources.h" |
#include "SamplePipeControllers.h" |
#include "SkBitmap.h" |
@@ -2386,10 +2387,11 @@ int tool_main(int argc, char** argv) { |
gmsRun++; |
SkISize size = gm->getISize(); |
- SkDebugf("%sdrawing... %s [%d %d]\n", moduloStr.c_str(), shortName, |
+ SkDebugf("%4dM %sdrawing... %s [%d %d]\n", |
+ sk_tools::getMaxResidentSetSizeMB(), moduloStr.c_str(), shortName, |
size.width(), size.height()); |
if (!FLAGS_dryRun) |
- run_multiple_configs(gmmain, gm, configs, pdfRasterizers, tileGridReplayScales, |
+ run_multiple_configs(gmmain, gm, configs, pdfRasterizers, tileGridReplayScales, |
grFactory, gpuAPI); |
} |