![]()  | 
  
    v8 12.4.254  (node 22.4.1)
    
   V8 is Google's open source JavaScript engine 
   | 
 
#include <v8-metrics.h>
Static Public Member Functions | |
| static V8_INLINE void | Reset (Isolate *isolate) | 
| static LongTaskStats | Get (Isolate *isolate) | 
Data Fields | |
| int64_t | gc_full_atomic_wall_clock_duration_us = 0 | 
| int64_t | gc_full_incremental_wall_clock_duration_us = 0 | 
| int64_t | gc_young_wall_clock_duration_us = 0 | 
| int64_t | v8_execute_us = 0 | 
Experimental API intended for the LongTasks UKM (crbug.com/1173527). The Reset() method should be called at the start of a potential long task. The Get() method returns durations of V8 work that happened during the task.
This API is experimental and may be removed/changed in the future.
Definition at line 241 of file v8-metrics.h.
      
  | 
  static | 
Resets durations of V8 work for the new task.
Definition at line 245 of file v8-metrics.h.
References Internals::IncrementLongTasksStatsCounter().
| int64_t gc_full_atomic_wall_clock_duration_us = 0 | 
Definition at line 254 of file v8-metrics.h.
| int64_t gc_full_incremental_wall_clock_duration_us = 0 | 
Definition at line 255 of file v8-metrics.h.
| int64_t gc_young_wall_clock_duration_us = 0 | 
Definition at line 256 of file v8-metrics.h.
| int64_t v8_execute_us = 0 | 
Definition at line 258 of file v8-metrics.h.