Commit 1564e791 authored by erikchen's avatar erikchen Committed by Commit Bot

memory-infra: Fix a unit conversion error for private memory footprint.

Bytes were being converted to kilobytes without a division.

BUG=707022

Review-Url: https://codereview.chromium.org/2914903002
Cr-Commit-Position: refs/heads/master@{#476241}
parent 32f91194
...@@ -53,7 +53,7 @@ uint32_t CalculatePrivateFootprintKb( ...@@ -53,7 +53,7 @@ uint32_t CalculatePrivateFootprintKb(
return (internal_bytes + compressed_bytes) / 1024; return (internal_bytes + compressed_bytes) / 1024;
} }
#elif defined(OS_WIN) #elif defined(OS_WIN)
return os_dump.platform_private_footprint.private_bytes; return os_dump.platform_private_footprint.private_bytes / 1024;
#else #else
return 0; return 0;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment