#include <heap-statistics.h>
HeapStatistics
contains memory consumption and utilization statistics for a cppgc heap.
◆ DetailLevel
Specifies the detail level of the heap statistics. Brief statistics contain only the top-level allocated and used memory statistics for the entire heap. Detailed statistics also contain a break down per space and page, as well as freelist statistics and object type histograms. Note that used memory reported by brief statistics and detailed statistics might differ slightly.
Enumerator |
---|
kBrief | |
kDetailed | |
◆ committed_size_bytes
size_t cppgc::HeapStatistics::committed_size_bytes = 0 |
Overall committed amount of memory for the heap.
◆ detail_level
◆ pooled_memory_size_bytes
size_t cppgc::HeapStatistics::pooled_memory_size_bytes = 0 |
Memory retained in the page pool, not used directly by the heap.
◆ resident_size_bytes
size_t cppgc::HeapStatistics::resident_size_bytes = 0 |
Resident amount of memory held by the heap.
◆ space_stats
◆ type_names
std::vector<std::string> cppgc::HeapStatistics::type_names |
◆ used_size_bytes
size_t cppgc::HeapStatistics::used_size_bytes = 0 |
Amount of memory actually used on the heap.
The documentation for this struct was generated from the following file: