#include <heap-statistics.h>
Public Attributes | |
| size_t | committed_size_bytes = 0 |
| size_t | resident_size_bytes = 0 |
| size_t | used_size_bytes = 0 |
| std::vector< ObjectStatsEntry > | object_statistics |
Page granularity statistics. For each page the statistics record the allocated memory size and overall used memory size for the page.
| size_t cppgc::HeapStatistics::PageStatistics::committed_size_bytes = 0 |
Overall committed amount of memory for the page.
| std::vector<ObjectStatsEntry> cppgc::HeapStatistics::PageStatistics::object_statistics |
Statistics for object allocated on the page. If an object provides a name by inheriting from NameProvider, its name will be recorded in the statistics. Other objects, without an explicit name, are merged under a single type unless the CPPGC_SUPPORTS_OBJECT_NAME build flag is enabled.
| size_t cppgc::HeapStatistics::PageStatistics::resident_size_bytes = 0 |
Resident amount of memory held by the page.
| size_t cppgc::HeapStatistics::PageStatistics::used_size_bytes = 0 |
Amount of memory actually used on the page.