|
v8
9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
|
Go to the documentation of this file.
103 #define V8_MAIN_THREAD_METRICS_EVENTS(V)
104 V(GarbageCollectionFullCycle)
105 V(GarbageCollectionFullMainThreadIncrementalMark)
106 V(GarbageCollectionFullMainThreadIncrementalSweep)
107 V(GarbageCollectionYoungCycle)
109 V(WasmModuleCompiled)
110 V(WasmModuleInstantiated)
111 V(WasmModuleTieredUp)
113 #define V8_THREAD_SAFE_METRICS_EVENTS(V) V(WasmModulesPerIsolate)
149 bool IsEmpty()
const {
return id_ == kEmptyId; }
159 explicit ContextId(uintptr_t id) : id_(id) {}
161 static constexpr uintptr_t kEmptyId = 0;
167 #define ADD_MAIN_THREAD_EVENT(E)
168 virtual void AddMainThreadEvent(const E& event, ContextId context_id) {}
170 #undef ADD_MAIN_THREAD_EVENT
172 #define ADD_THREAD_SAFE_EVENT(E)
173 virtual void AddThreadSafeEvent(const E& event) {}
175 #undef ADD_THREAD_SAFE_EVENT
#define V8_THREAD_SAFE_METRICS_EVENTS(V)
GarbageCollectionPhases main_thread_atomic
GarbageCollectionPhases main_thread_incremental_cpp
int64_t cpp_wall_clock_duration_in_us
int64_t wall_clock_duration_in_us
double main_thread_efficiency_cpp_in_bytes_per_us
bool operator!=(const ContextId &other) const
int64_t wall_clock_duration_in_us
static ContextId GetContextId(Local< Context > context)
virtual void NotifyIsolateDisposal()
int64_t total_wall_clock_duration_in_us
size_t liftoff_bailout_count
int64_t cpp_wall_clock_duration_in_us
double collection_rate_cpp_in_percent
int64_t mark_wall_clock_duration_in_us
GarbageCollectionPhases total_cpp
double collection_rate_in_percent
GarbageCollectionPhases main_thread_atomic_cpp
double efficiency_cpp_in_bytes_per_us
bool operator==(const ContextId &other) const
double efficiency_in_bytes_per_us
double main_thread_efficiency_in_bytes_per_us
GarbageCollectionPhases main_thread_cpp
GarbageCollectionPhases main_thread
virtual ~Recorder()=default
double efficiency_in_bytes_per_us
static const ContextId Empty()
GarbageCollectionSizes memory
#define V8_MAIN_THREAD_METRICS_EVENTS(V)
int64_t sweep_wall_clock_duration_in_us
double main_thread_efficiency_in_bytes_per_us
size_t code_size_in_bytes
GarbageCollectionSizes memory_cpp
int64_t weak_wall_clock_duration_in_us
int64_t compact_wall_clock_duration_in_us
int64_t wall_clock_duration_in_us
GarbageCollectionPhases total
size_t module_size_in_bytes
GarbageCollectionSizes objects
int64_t wall_clock_duration_in_us
size_t imported_function_count
int64_t wall_clock_duration_in_us
static MaybeLocal< Context > GetContext(Isolate *isolate, ContextId id)
double collection_rate_in_percent
size_t code_size_in_bytes
int64_t wall_clock_duration_in_us
GarbageCollectionSizes objects_cpp
int64_t main_thread_wall_clock_duration_in_us
GarbageCollectionPhases main_thread_incremental