5#ifndef INCLUDE_V8_STATISTICS_H_
6#define INCLUDE_V8_STATISTICS_H_
105 static std::unique_ptr<MeasureMemoryDelegate>
Default(
122 return read_only_space_physical_size_;
126 size_t read_only_space_size_;
127 size_t read_only_space_used_size_;
128 size_t read_only_space_physical_size_;
131 friend class internal::ReadOnlyHeap;
164 size_t total_heap_size_;
165 size_t total_heap_size_executable_;
166 size_t total_physical_size_;
167 size_t total_available_size_;
168 size_t used_heap_size_;
169 size_t heap_size_limit_;
170 size_t malloced_memory_;
171 size_t external_memory_;
172 size_t peak_malloced_memory_;
173 bool does_zap_garbage_;
174 size_t number_of_native_contexts_;
175 size_t number_of_detached_contexts_;
176 size_t total_global_handles_size_;
177 size_t used_global_handles_size_;
193 const char* space_name_;
195 size_t space_used_size_;
196 size_t space_available_size_;
197 size_t physical_space_size_;
211 const char* object_type_;
212 const char* object_sub_type_;
213 size_t object_count_;
228 size_t code_and_metadata_size_;
229 size_t bytecode_and_metadata_size_;
230 size_t external_script_source_size_;
231 size_t cpu_profiler_metadata_size_;
size_t bytecode_and_metadata_size()
size_t external_script_source_size()
size_t code_and_metadata_size()
size_t cpu_profiler_metadata_size()
const char * object_type()
const char * object_sub_type()
size_t physical_space_size()
const char * space_name()
size_t space_available_size()
size_t total_heap_size_executable()
size_t number_of_detached_contexts()
size_t does_zap_garbage()
size_t peak_malloced_memory()
size_t number_of_native_contexts()
size_t used_global_handles_size()
size_t total_global_handles_size()
size_t total_available_size()
size_t total_physical_size()
virtual bool ShouldMeasure(Local< Context > context)=0
static std::unique_ptr< MeasureMemoryDelegate > Default(Isolate *isolate, Local< Context > context, Local< Promise::Resolver > promise_resolver, MeasureMemoryMode mode)
virtual ~MeasureMemoryDelegate()=default
virtual void MeasurementComplete(Result result)
size_t read_only_space_physical_size()
size_t read_only_space_size()
size_t read_only_space_used_size()
size_t wasm_metadata_size_in_bytes
const MemorySpan< const size_t > & sizes_in_bytes
size_t wasm_code_size_in_bytes
size_t unattributed_size_in_bytes
const MemorySpan< const Local< Context > > & contexts