v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
AllocationProfile::Sample Struct Reference

#include <v8-profiler.h>

Data Fields

uint32_t node_id
 
size_t size
 
unsigned int count
 
uint64_t sample_id
 

Detailed Description

Represent a single sample recorded for an allocation.

Definition at line 786 of file v8-profiler.h.

Field Documentation

◆ count

unsigned int count

The number of objects of such size that were sampled.

Definition at line 800 of file v8-profiler.h.

◆ node_id

uint32_t node_id

id of the node in the profile tree.

Definition at line 790 of file v8-profiler.h.

◆ sample_id

uint64_t sample_id

Unique time-ordered id of the allocation sample. Can be used to track what samples were added or removed between two snapshots.

Definition at line 806 of file v8-profiler.h.

◆ size

size_t size

Size of the sampled allocation object.

Definition at line 795 of file v8-profiler.h.


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