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

Unified Diff: services/resource_coordinator/memory_instrumentation/coordinator_impl.cc

Issue 2914903002: memory-infra: Fix a unit conversion error for private memory footprint. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/resource_coordinator/memory_instrumentation/coordinator_impl.cc
diff --git a/services/resource_coordinator/memory_instrumentation/coordinator_impl.cc b/services/resource_coordinator/memory_instrumentation/coordinator_impl.cc
index aabe5bda816cdc442aa23e38dbc9d392f7a3cd98..2d993c79f57f0cb1d2d95f37166a2d09ba80af16 100644
--- a/services/resource_coordinator/memory_instrumentation/coordinator_impl.cc
+++ b/services/resource_coordinator/memory_instrumentation/coordinator_impl.cc
@@ -53,7 +53,7 @@ uint32_t CalculatePrivateFootprintKb(
return (internal_bytes + compressed_bytes) / 1024;
}
#elif defined(OS_WIN)
- return os_dump.platform_private_footprint.private_bytes;
+ return os_dump.platform_private_footprint.private_bytes / 1024;
#else
return 0;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698