quickjs_runtime::quickjs_utils

Function 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