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

Function WasmEdge_ConfigureStatisticsIsCostMeasuring

lib/api/wasmedge.cpp:1152–1158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1150}
1151
1152WASMEDGE_CAPI_EXPORT bool WasmEdge_ConfigureStatisticsIsCostMeasuring(
1153 const WasmEdge_ConfigureContext *Cxt) noexcept {
1154 if (Cxt) {
1155 return Cxt->Conf.getStatisticsConfigure().isCostMeasuring();
1156 }
1157 return false;
1158}
1159
1160WASMEDGE_CAPI_EXPORT void
1161WasmEdge_ConfigureStatisticsSetTimeMeasuring(WasmEdge_ConfigureContext *Cxt,

Callers 1

TESTFunction · 0.85

Calls 1

isCostMeasuringMethod · 0.80

Tested by 1

TESTFunction · 0.68