v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
SharedMemoryStatistics Class Reference

#include <v8-statistics.h>

Public Member Functions

 SharedMemoryStatistics ()
 
size_t read_only_space_size ()
 
size_t read_only_space_used_size ()
 
size_t read_only_space_physical_size ()
 

Friends

class V8
 
class internal::ReadOnlyHeap
 

Detailed Description

Collection of shared per-process V8 memory information.

Instances of this class can be passed to v8::V8::GetSharedMemoryStatistics to get shared memory statistics from V8.

Definition at line 95 of file v8-statistics.h.

Constructor & Destructor Documentation

◆ SharedMemoryStatistics()

Member Function Documentation

◆ read_only_space_physical_size()

size_t read_only_space_physical_size ( )
inline

Definition at line 100 of file v8-statistics.h.

◆ read_only_space_size()

size_t read_only_space_size ( )
inline

Definition at line 98 of file v8-statistics.h.

◆ read_only_space_used_size()

size_t read_only_space_used_size ( )
inline

Definition at line 99 of file v8-statistics.h.

Friends And Related Function Documentation

◆ internal::ReadOnlyHeap

friend class internal::ReadOnlyHeap
friend

Definition at line 110 of file v8-statistics.h.

◆ V8

friend class V8
friend

Definition at line 109 of file v8-statistics.h.


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