wasmedge_sys::ffi

Function WasmEdge_ConfigureStatisticsSetCostMeasuring

Source
pub unsafe extern "C" fn WasmEdge_ConfigureStatisticsSetCostMeasuring(
    Cxt: *mut WasmEdge_ConfigureContext,
    IsMeasure: bool,
)
Expand description

Set the cost measuring option for the statistics.

This function is thread-safe.

\param Cxt the WasmEdge_ConfigureContext to set the boolean value. \param IsMeasure the boolean value to determine to support cost measuring when execution or not after compilation by the AOT compiler.