v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <v8-statistics.h>
Data Fields | |
const MemorySpan< const Local< Context > > & | contexts |
const MemorySpan< const size_t > & | sizes_in_bytes |
size_t | unattributed_size_in_bytes |
size_t | wasm_code_size_in_bytes |
size_t | wasm_metadata_size_in_bytes |
Holds the result of a memory measurement request.
Definition at line 65 of file v8-statistics.h.
const MemorySpan<const Local<Context> >& contexts |
Two spans of equal length: the first includes each context for which ShouldMeasure returned true and that was not garbage collected while the memory measurement was in progress; the second includes the size of the respective context.
Definition at line 72 of file v8-statistics.h.
const MemorySpan<const size_t>& sizes_in_bytes |
Definition at line 73 of file v8-statistics.h.
size_t unattributed_size_in_bytes |
Total size of objects that were not attributed to any context (i.e. are likely shared objects).
Definition at line 79 of file v8-statistics.h.
size_t wasm_code_size_in_bytes |
Total size of generated code for Wasm (shared across contexts).
Definition at line 82 of file v8-statistics.h.
size_t wasm_metadata_size_in_bytes |
Total size of Wasm metadata (except code; shared across contexts).
Definition at line 85 of file v8-statistics.h.