v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::MemoryReducer::State Class Reference

#include <memory-reducer.h>

Collaboration diagram for v8::internal::MemoryReducer::State:

Public Member Functions

Id id () const
 
int started_gcs () const
 
double next_gc_start_ms () const
 
double last_gc_time_ms () const
 
size_t committed_memory_at_last_run () const
 

Static Public Member Functions

static State CreateUninitialized ()
 
static State CreateDone (double last_gc_time_ms, size_t committed_memory)
 
static State CreateWait (int started_gcs, double next_gc_time_ms, double last_gc_time_ms)
 
static State CreateRun (int started_gcs)
 

Private Member Functions

 State (Id action, int started_gcs, double next_gc_start_ms, double last_gc_time_ms, size_t committed_memory_at_last_run)
 

Private Attributes

Id id_
 
int started_gcs_
 
double next_gc_start_ms_
 
double last_gc_time_ms_
 
size_t committed_memory_at_last_run_
 

Detailed Description

Definition at line 91 of file memory-reducer.h.

Constructor & Destructor Documentation

◆ State()

v8::internal::MemoryReducer::State::State ( Id action,
int started_gcs,
double next_gc_start_ms,
double last_gc_time_ms,
size_t committed_memory_at_last_run )
inlineprivate

Definition at line 131 of file memory-reducer.h.

Member Function Documentation

◆ committed_memory_at_last_run()

size_t v8::internal::MemoryReducer::State::committed_memory_at_last_run ( ) const
inline

Definition at line 125 of file memory-reducer.h.

◆ CreateDone()

static State v8::internal::MemoryReducer::State::CreateDone ( double last_gc_time_ms,
size_t committed_memory )
inlinestatic

Definition at line 95 of file memory-reducer.h.

Here is the caller graph for this function:

◆ CreateRun()

static State v8::internal::MemoryReducer::State::CreateRun ( int started_gcs)
inlinestatic

Definition at line 104 of file memory-reducer.h.

Here is the caller graph for this function:

◆ CreateUninitialized()

static State v8::internal::MemoryReducer::State::CreateUninitialized ( )
inlinestatic

Definition at line 93 of file memory-reducer.h.

Here is the caller graph for this function:

◆ CreateWait()

static State v8::internal::MemoryReducer::State::CreateWait ( int started_gcs,
double next_gc_time_ms,
double last_gc_time_ms )
inlinestatic

Definition at line 99 of file memory-reducer.h.

Here is the caller graph for this function:

◆ id()

Id v8::internal::MemoryReducer::State::id ( ) const
inline

Definition at line 108 of file memory-reducer.h.

Here is the caller graph for this function:

◆ last_gc_time_ms()

double v8::internal::MemoryReducer::State::last_gc_time_ms ( ) const
inline

Definition at line 120 of file memory-reducer.h.

◆ next_gc_start_ms()

double v8::internal::MemoryReducer::State::next_gc_start_ms ( ) const
inline

Definition at line 115 of file memory-reducer.h.

Here is the caller graph for this function:

◆ started_gcs()

int v8::internal::MemoryReducer::State::started_gcs ( ) const
inline

Definition at line 110 of file memory-reducer.h.

Here is the caller graph for this function:

Member Data Documentation

◆ committed_memory_at_last_run_

size_t v8::internal::MemoryReducer::State::committed_memory_at_last_run_
private

Definition at line 143 of file memory-reducer.h.

◆ id_

Id v8::internal::MemoryReducer::State::id_
private

Definition at line 139 of file memory-reducer.h.

◆ last_gc_time_ms_

double v8::internal::MemoryReducer::State::last_gc_time_ms_
private

Definition at line 142 of file memory-reducer.h.

◆ next_gc_start_ms_

double v8::internal::MemoryReducer::State::next_gc_start_ms_
private

Definition at line 141 of file memory-reducer.h.

◆ started_gcs_

int v8::internal::MemoryReducer::State::started_gcs_
private

Definition at line 140 of file memory-reducer.h.


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