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

#include <zone-stats.h>

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

Classes

class  Scope
 
class  StatsScope
 

Public Member Functions

 ZoneStats (AccountingAllocator *allocator)
 
 ~ZoneStats ()
 
 ZoneStats (const ZoneStats &)=delete
 
ZoneStatsoperator= (const ZoneStats &)=delete
 
size_t GetMaxAllocatedBytes () const
 
size_t GetTotalAllocatedBytes () const
 
size_t GetCurrentAllocatedBytes () const
 

Private Types

using Zones = std::vector<Zone*>
 
using Stats = std::vector<StatsScope*>
 

Private Member Functions

ZoneNewEmptyZone (const char *zone_name, bool support_zone_compression)
 
void ReturnZone (Zone *zone)
 

Private Attributes

Zones zones_
 
Stats stats_
 
size_t max_allocated_bytes_
 
size_t total_deleted_bytes_
 
AccountingAllocatorallocator_
 

Static Private Attributes

static const size_t kMaxUnusedSize = 3
 

Detailed Description

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

Member Typedef Documentation

◆ Stats

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

◆ Zones

using v8::internal::compiler::ZoneStats::Zones = std::vector<Zone*>
private

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

Constructor & Destructor Documentation

◆ ZoneStats() [1/2]

v8::internal::compiler::ZoneStats::ZoneStats ( AccountingAllocator * allocator)
explicit

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

◆ ~ZoneStats()

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

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

◆ ZoneStats() [2/2]

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

Member Function Documentation

◆ GetCurrentAllocatedBytes()

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

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

Here is the caller graph for this function:

◆ GetMaxAllocatedBytes()

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

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

Here is the call graph for this function:

◆ GetTotalAllocatedBytes()

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

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

Here is the call graph for this function:

◆ NewEmptyZone()

Zone * v8::internal::compiler::ZoneStats::NewEmptyZone ( const char * zone_name,
bool support_zone_compression )
private

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

◆ operator=()

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

◆ ReturnZone()

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

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

Here is the call graph for this function:

Member Data Documentation

◆ allocator_

AccountingAllocator* v8::internal::compiler::ZoneStats::allocator_
private

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

◆ kMaxUnusedSize

const size_t v8::internal::compiler::ZoneStats::kMaxUnusedSize = 3
staticprivate

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

◆ max_allocated_bytes_

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

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

◆ stats_

Stats v8::internal::compiler::ZoneStats::stats_
private

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

◆ total_deleted_bytes_

size_t v8::internal::compiler::ZoneStats::total_deleted_bytes_
private

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

◆ zones_

Zones v8::internal::compiler::ZoneStats::zones_
private

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


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