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

Unified Diff: Source/wtf/PartitionAlloc.h

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/platform/PartitionAllocMemoryDumpProvider.cpp ('k') | Source/wtf/PartitionAlloc.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/PartitionAlloc.h
diff --git a/Source/wtf/PartitionAlloc.h b/Source/wtf/PartitionAlloc.h
index 7d8776841b893c98b93a2714d1e88aad8290ee05..099e7ffc059df21e7389656033dc2c7804621f18 100644
--- a/Source/wtf/PartitionAlloc.h
+++ b/Source/wtf/PartitionAlloc.h
@@ -349,13 +349,12 @@ struct PartitionBucketMemoryStats {
bool isDirectMap; // True if this is a direct mapping; size will not be unique.
uint32_t bucketSlotSize; // The size of the slot in bytes.
uint32_t allocatedPageSize; // Total size the partition page allocated from the system.
- uint32_t pageWasteSize; // The bytes allocated from the system but can't be used in any slot in a partition page.
uint32_t activeBytes; // Total active bytes used in the bucket.
uint32_t residentBytes; // Total bytes provisioned in the bucket.
uint32_t freeableBytes; // Total bytes that could be decommitted.
uint32_t numFullPages; // Number of pages with all slots allocated.
uint32_t numActivePages; // Number of pages that have at least one provisioned slot.
- uint32_t numEmptyPages; // Number of pages that areempty but not decommitted.
+ uint32_t numEmptyPages; // Number of pages that are empty but not decommitted.
uint32_t numDecommittedPages; // Number of pages that are empty and decommitted.
};
« no previous file with comments | « Source/platform/PartitionAllocMemoryDumpProvider.cpp ('k') | Source/wtf/PartitionAlloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698