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

#include <stats-collector.h>

Collaboration diagram for cppgc::internal::StatsCollector::Event:

Public Member Functions

V8_EXPORT_PRIVATE Event ()
 

Public Attributes

v8::base::TimeDelta scope_data [kNumHistogramScopeIds]
 
v8::base::AtomicWord concurrent_scope_data [kNumHistogramConcurrentScopeIds]
 
size_t epoch = -1
 
CollectionType collection_type = CollectionType::kMajor
 
MarkingType marking_type = MarkingType::kAtomic
 
SweepingType sweeping_type = SweepingType::kAtomic
 
IsForcedGC is_forced_gc = IsForcedGC::kNotForced
 
size_t marked_bytes = 0
 
size_t object_size_before_sweep_bytes = -1
 
size_t memory_size_before_sweep_bytes = -1
 

Detailed Description

Definition at line 117 of file stats-collector.h.

Constructor & Destructor Documentation

◆ Event()

cppgc::internal::StatsCollector::Event::Event ( )
explicit

Definition at line 105 of file stats-collector.cc.

Member Data Documentation

◆ collection_type

CollectionType cppgc::internal::StatsCollector::Event::collection_type = CollectionType::kMajor

Definition at line 125 of file stats-collector.h.

◆ concurrent_scope_data

v8::base::AtomicWord cppgc::internal::StatsCollector::Event::concurrent_scope_data[kNumHistogramConcurrentScopeIds]
Initial value:
{
0}

Definition at line 121 of file stats-collector.h.

◆ epoch

size_t cppgc::internal::StatsCollector::Event::epoch = -1

Definition at line 124 of file stats-collector.h.

◆ is_forced_gc

IsForcedGC cppgc::internal::StatsCollector::Event::is_forced_gc = IsForcedGC::kNotForced

Definition at line 128 of file stats-collector.h.

◆ marked_bytes

size_t cppgc::internal::StatsCollector::Event::marked_bytes = 0

Definition at line 130 of file stats-collector.h.

◆ marking_type

MarkingType cppgc::internal::StatsCollector::Event::marking_type = MarkingType::kAtomic

Definition at line 126 of file stats-collector.h.

◆ memory_size_before_sweep_bytes

size_t cppgc::internal::StatsCollector::Event::memory_size_before_sweep_bytes = -1

Definition at line 132 of file stats-collector.h.

◆ object_size_before_sweep_bytes

size_t cppgc::internal::StatsCollector::Event::object_size_before_sweep_bytes = -1

Definition at line 131 of file stats-collector.h.

◆ scope_data

v8::base::TimeDelta cppgc::internal::StatsCollector::Event::scope_data[kNumHistogramScopeIds]

Definition at line 120 of file stats-collector.h.

◆ sweeping_type

SweepingType cppgc::internal::StatsCollector::Event::sweeping_type = SweepingType::kAtomic

Definition at line 127 of file stats-collector.h.


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