![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <cpp-heap.h>
Public Member Functions | |
| MetricRecorderAdapter (CppHeap &cpp_heap) | |
| void | AddMainThreadEvent (const GCCycle &cppgc_event) final |
| void | AddMainThreadEvent (const MainThreadIncrementalMark &cppgc_event) final |
| void | AddMainThreadEvent (const MainThreadIncrementalSweep &cppgc_event) final |
| void | FlushBatchedIncrementalEvents () |
| bool | FullGCMetricsReportPending () const |
| bool | YoungGCMetricsReportPending () const |
| const std::optional< cppgc::internal::MetricRecorder::GCCycle > | ExtractLastFullGcEvent () |
| const std::optional< cppgc::internal::MetricRecorder::GCCycle > | ExtractLastYoungGcEvent () |
| const std::optional< cppgc::internal::MetricRecorder::MainThreadIncrementalMark > | ExtractLastIncrementalMarkEvent () |
| void | ClearCachedEvents () |
Public Member Functions inherited from cppgc::internal::MetricRecorder | |
| virtual | ~MetricRecorder ()=default |
Static Public Attributes | |
| static constexpr int | kMaxBatchedEvents = 16 |
Private Member Functions | |
| Isolate * | GetIsolate () const |
| v8::metrics::Recorder::ContextId | GetContextId () const |
Definition at line 55 of file cpp-heap.h.
|
inlineexplicit |
Definition at line 59 of file cpp-heap.h.
|
finalvirtual |
Reimplemented from cppgc::internal::MetricRecorder.
Definition at line 363 of file cpp-heap.cc.
|
finalvirtual |
Reimplemented from cppgc::internal::MetricRecorder.
Definition at line 377 of file cpp-heap.cc.
|
finalvirtual |
Reimplemented from cppgc::internal::MetricRecorder.
Definition at line 401 of file cpp-heap.cc.
| void v8::internal::CppHeap::MetricRecorderAdapter::ClearCachedEvents | ( | ) |
Definition at line 464 of file cpp-heap.cc.
| const std::optional< cppgc::internal::MetricRecorder::GCCycle > v8::internal::CppHeap::MetricRecorderAdapter::ExtractLastFullGcEvent | ( | ) |
Definition at line 444 of file cpp-heap.cc.
| const std::optional< cppgc::internal::MetricRecorder::MainThreadIncrementalMark > v8::internal::CppHeap::MetricRecorderAdapter::ExtractLastIncrementalMarkEvent | ( | ) |
| const std::optional< cppgc::internal::MetricRecorder::GCCycle > v8::internal::CppHeap::MetricRecorderAdapter::ExtractLastYoungGcEvent | ( | ) |
Definition at line 451 of file cpp-heap.cc.
| void v8::internal::CppHeap::MetricRecorderAdapter::FlushBatchedIncrementalEvents | ( | ) |
Definition at line 419 of file cpp-heap.cc.
| bool v8::internal::CppHeap::MetricRecorderAdapter::FullGCMetricsReportPending | ( | ) | const |
Definition at line 435 of file cpp-heap.cc.
|
private |
|
private |
| bool v8::internal::CppHeap::MetricRecorderAdapter::YoungGCMetricsReportPending | ( | ) | const |
Definition at line 439 of file cpp-heap.cc.
|
private |
Definition at line 88 of file cpp-heap.h.
|
private |
Definition at line 90 of file cpp-heap.h.
|
private |
Definition at line 92 of file cpp-heap.h.
|
staticconstexpr |
Definition at line 57 of file cpp-heap.h.
|
private |
Definition at line 93 of file cpp-heap.h.
|
private |
Definition at line 97 of file cpp-heap.h.
|
private |
Definition at line 95 of file cpp-heap.h.