| Index: dm/DMReporter.cpp
|
| diff --git a/dm/DMReporter.cpp b/dm/DMReporter.cpp
|
| index 12bcfac0f3f7f233b5a7ebc780f75813ece9f536..7b2cea8136f32f82d1385f4ee3b2d16574c983ef 100644
|
| --- a/dm/DMReporter.cpp
|
| +++ b/dm/DMReporter.cpp
|
| @@ -22,9 +22,9 @@ void Reporter::printStatus(SkString name, SkMSec timeMs) const {
|
| status.appendf(", %d failed", failed);
|
| }
|
| if (FLAGS_verbose) {
|
| - int max_rss_kb = sk_tools::getMaxResidentSetSizeKB();
|
| - if (max_rss_kb >= 0) {
|
| - status.appendf("\t%4dM peak", max_rss_kb / 1024);
|
| + int max_rss_mb = sk_tools::getMaxResidentSetSizeMB();
|
| + if (max_rss_mb >= 0) {
|
| + status.appendf("\t%4dM peak", max_rss_mb);
|
| }
|
| status.appendf("\t%5dms\t%s", timeMs, name.c_str());
|
| }
|
|
|