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

Unified Diff: Source/wtf/PartitionAlloc.cpp

Issue 1165703010: PartitionAlloc: improve how statistics appear in chrome://tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove numeric prefix hacks. Created 5 years, 6 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 | « Source/wtf/PartitionAlloc.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/PartitionAlloc.cpp
diff --git a/Source/wtf/PartitionAlloc.cpp b/Source/wtf/PartitionAlloc.cpp
index d6fc5a6cdf2ebc3ca117b5909026b9ac4a315369..745bbc82dbfc5b6afea338403a13a415f77e8e79 100644
--- a/Source/wtf/PartitionAlloc.cpp
+++ b/Source/wtf/PartitionAlloc.cpp
@@ -1079,7 +1079,6 @@ static void partitionDumpBucketStats(PartitionBucketMemoryStats* statsOut, const
uint16_t bucketNumSlots = partitionBucketSlots(bucket);
size_t bucketUsefulStorage = statsOut->bucketSlotSize * bucketNumSlots;
statsOut->allocatedPageSize = partitionBucketBytes(bucket);
- statsOut->pageWasteSize = statsOut->allocatedPageSize - bucketUsefulStorage;
statsOut->activeBytes = bucket->numFullPages * bucketUsefulStorage;
statsOut->residentBytes = bucket->numFullPages * statsOut->allocatedPageSize;
« no previous file with comments | « Source/wtf/PartitionAlloc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698