wasmedge_sys::ffi

Function WasmEdge_StatisticsSetCostTable

Source
pub unsafe extern "C" fn WasmEdge_StatisticsSetCostTable(
    Cxt: *mut WasmEdge_StatisticsContext,
    CostArr: *mut u64,
    Len: u32,
)
Expand description

Set the costs of instructions.

\param Cxt the WasmEdge_StatisticsContext to set the cost table. \param CostArr the cost table array. \param Len the length of the cost table array.