Function chakracore_sys::JsGetRuntimeMemoryUsage [] [src]

pub unsafe extern "system" fn JsGetRuntimeMemoryUsage(
    runtime: JsRuntimeHandle,
    memoryUsage: *mut usize
) -> JsErrorCode

Gets the current memory usage for a runtime. Memory usage can be always be retrieved, regardless of whether or not the runtime is active on another thread. The runtime whose memory usage is to be retrieved. The runtime's current memory usage, in bytes. The code JsNoError if the operation succeeded, a failure code otherwise.