Function quickjs_runtime::quickjs_utils::get_memory_usage

source ·
pub unsafe fn get_memory_usage(runtime: *mut JSRuntime) -> JSMemoryUsage
Expand description

Calculate a runtimes memory usage

§Safety

runtime ref should be a valid existing runtime