MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / WasmEdge_StatisticsSetCostLimit

Function WasmEdge_StatisticsSetCostLimit

lib/api/wasmedge.cpp:1228–1234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1226}
1227
1228WASMEDGE_CAPI_EXPORT void
1229WasmEdge_StatisticsSetCostLimit(WasmEdge_StatisticsContext *Cxt,
1230 const uint64_t Limit) noexcept {
1231 if (Cxt) {
1232 fromStatCxt(Cxt)->setCostLimit(Limit);
1233 }
1234}
1235
1236WASMEDGE_CAPI_EXPORT void
1237WasmEdge_StatisticsClear(WasmEdge_StatisticsContext *Cxt) noexcept {

Callers 1

TESTFunction · 0.85

Calls 1

setCostLimitMethod · 0.45

Tested by 1

TESTFunction · 0.68