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

#include <zone-stats.h>

Collaboration diagram for v8::internal::compiler::ZoneStats::StatsScope:

Public Member Functions

 StatsScope (ZoneStats *zone_stats)
 
 ~StatsScope ()
 
 StatsScope (const StatsScope &)=delete
 
StatsScopeoperator= (const StatsScope &)=delete
 
size_t GetMaxAllocatedBytes ()
 
size_t GetCurrentAllocatedBytes ()
 
size_t GetTotalAllocatedBytes ()
 

Private Types

using InitialValues = std::map<Zone*, size_t>
 

Private Member Functions

void ZoneReturned (Zone *zone)
 

Private Attributes

ZoneStats *const zone_stats_
 
InitialValues initial_values_
 
size_t total_allocated_bytes_at_start_
 
size_t max_allocated_bytes_
 

Friends

class ZoneStats
 

Detailed Description

Definition at line 68 of file zone-stats.h.

Member Typedef Documentation

◆ InitialValues

Definition at line 83 of file zone-stats.h.

Constructor & Destructor Documentation

◆ StatsScope() [1/2]

v8::internal::compiler::ZoneStats::StatsScope::StatsScope ( ZoneStats * zone_stats)
explicit

Definition at line 13 of file zone-stats.cc.

◆ ~StatsScope()

v8::internal::compiler::ZoneStats::StatsScope::~StatsScope ( )

Definition at line 27 of file zone-stats.cc.

◆ StatsScope() [2/2]

v8::internal::compiler::ZoneStats::StatsScope::StatsScope ( const StatsScope & )
delete

Member Function Documentation

◆ GetCurrentAllocatedBytes()

size_t v8::internal::compiler::ZoneStats::StatsScope::GetCurrentAllocatedBytes ( )

Definition at line 36 of file zone-stats.cc.

Here is the call graph for this function:

◆ GetMaxAllocatedBytes()

size_t v8::internal::compiler::ZoneStats::StatsScope::GetMaxAllocatedBytes ( )

Definition at line 32 of file zone-stats.cc.

Here is the call graph for this function:

◆ GetTotalAllocatedBytes()

size_t v8::internal::compiler::ZoneStats::StatsScope::GetTotalAllocatedBytes ( )

Definition at line 49 of file zone-stats.cc.

◆ operator=()

StatsScope & v8::internal::compiler::ZoneStats::StatsScope::operator= ( const StatsScope & )
delete

◆ ZoneReturned()

void v8::internal::compiler::ZoneStats::StatsScope::ZoneReturned ( Zone * zone)
private

Definition at line 54 of file zone-stats.cc.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ ZoneStats

friend class ZoneStats
friend

Definition at line 80 of file zone-stats.h.

Member Data Documentation

◆ initial_values_

InitialValues v8::internal::compiler::ZoneStats::StatsScope::initial_values_
private

Definition at line 86 of file zone-stats.h.

◆ max_allocated_bytes_

size_t v8::internal::compiler::ZoneStats::StatsScope::max_allocated_bytes_
private

Definition at line 88 of file zone-stats.h.

◆ total_allocated_bytes_at_start_

size_t v8::internal::compiler::ZoneStats::StatsScope::total_allocated_bytes_at_start_
private

Definition at line 87 of file zone-stats.h.

◆ zone_stats_

ZoneStats* const v8::internal::compiler::ZoneStats::StatsScope::zone_stats_
private

Definition at line 85 of file zone-stats.h.


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