Loading...
Searching...
No Matches
Public Attributes | List of all members
cppgc::HeapStatistics::PageStatistics Struct Reference

#include <heap-statistics.h>

Collaboration diagram for cppgc::HeapStatistics::PageStatistics:
[legend]

Public Attributes

size_t committed_size_bytes = 0
 
size_t resident_size_bytes = 0
 
size_t used_size_bytes = 0
 
std::vector< ObjectStatsEntryobject_statistics
 

Detailed Description

Page granularity statistics. For each page the statistics record the allocated memory size and overall used memory size for the page.

Member Data Documentation

◆ committed_size_bytes

size_t cppgc::HeapStatistics::PageStatistics::committed_size_bytes = 0

Overall committed amount of memory for the page.

◆ object_statistics

std::vector<ObjectStatsEntry> cppgc::HeapStatistics::PageStatistics::object_statistics

Statistics for object allocated on the page. Filled only when NameProvider::SupportsCppClassNamesAsObjectNames() is true.

◆ resident_size_bytes

size_t cppgc::HeapStatistics::PageStatistics::resident_size_bytes = 0

Resident amount of memory held by the page.

◆ used_size_bytes

size_t cppgc::HeapStatistics::PageStatistics::used_size_bytes = 0

Amount of memory actually used on the page.


The documentation for this struct was generated from the following file: