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

#include <heap-statistics.h>

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

Public Attributes

std::string name
 
size_t committed_size_bytes = 0
 
size_t resident_size_bytes = 0
 
size_t used_size_bytes = 0
 
std::vector< PageStatisticspage_stats
 
FreeListStatistics free_list_stats
 

Detailed Description

Space granularity statistics. For each space the statistics record the space name, the amount of allocated memory and overall used memory for the space. The statistics also contain statistics for each of the space's pages, its freelist and the objects allocated on the space.

Member Data Documentation

◆ committed_size_bytes

size_t cppgc::HeapStatistics::SpaceStatistics::committed_size_bytes = 0

Overall committed amount of memory for the heap.

◆ free_list_stats

FreeListStatistics cppgc::HeapStatistics::SpaceStatistics::free_list_stats

Statistics for the freelist of the space.

◆ name

std::string cppgc::HeapStatistics::SpaceStatistics::name

The space name

◆ page_stats

std::vector<PageStatistics> cppgc::HeapStatistics::SpaceStatistics::page_stats

Statistics for each of the pages in the space.

◆ resident_size_bytes

size_t cppgc::HeapStatistics::SpaceStatistics::resident_size_bytes = 0

Resident amount of memory held by the heap.

◆ used_size_bytes

size_t cppgc::HeapStatistics::SpaceStatistics::used_size_bytes = 0

Amount of memory actually used on the space.


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