wasm_runtime_get_wasm_func_exec_time

Function wasm_runtime_get_wasm_func_exec_time 

Source
pub unsafe extern "C" fn wasm_runtime_get_wasm_func_exec_time(
    inst: wasm_module_inst_t,
    func_name: *const c_char,
) -> f64
Expand description

Return execution time in ms of a given wasm function with func_name. If the function is not found, return 0.

@param module_inst the WASM module instance to profile @param func_name could be an export name or a name in the name section