#include <v8-statistics.h>
Public Attributes | |
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.
const MemorySpan<const Local<Context> >& v8::MeasureMemoryDelegate::Result::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.
const MemorySpan<const size_t>& v8::MeasureMemoryDelegate::Result::sizes_in_bytes |
size_t v8::MeasureMemoryDelegate::Result::unattributed_size_in_bytes |
Total size of objects that were not attributed to any context (i.e. are likely shared objects).
size_t v8::MeasureMemoryDelegate::Result::wasm_code_size_in_bytes |
Total size of generated code for Wasm (shared across contexts).
size_t v8::MeasureMemoryDelegate::Result::wasm_metadata_size_in_bytes |
Total size of Wasm metadata (except code; shared across contexts).