v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::HeapStatistics::PageStatistics Struct Reference

#include <heap-statistics.h>

Collaboration diagram for cppgc::HeapStatistics::PageStatistics:

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.

Definition at line 51 of file heap-statistics.h.

Member Data Documentation

◆ committed_size_bytes

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

Overall committed amount of memory for the page.

Definition at line 53 of file heap-statistics.h.

◆ object_statistics

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

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

Definition at line 60 of file heap-statistics.h.

◆ resident_size_bytes

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

Resident amount of memory held by the page.

Definition at line 55 of file heap-statistics.h.

◆ used_size_bytes

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

Amount of memory actually used on the page.

Definition at line 57 of file heap-statistics.h.


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