V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::AllocationProfile::Sample Struct Reference

#include <v8-profiler.h>

Public Attributes

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 635 of file v8-profiler.h.

Member Data Documentation

◆ count

unsigned int v8::AllocationProfile::Sample::count

The number of objects of such size that were sampled.

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

◆ node_id

uint32_t v8::AllocationProfile::Sample::node_id

id of the node in the profile tree.

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

◆ sample_id

uint64_t v8::AllocationProfile::Sample::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 655 of file v8-profiler.h.

◆ size

size_t v8::AllocationProfile::Sample::size

Size of the sampled allocation object.

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


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