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

Function WasmEdge_ConfigureStatisticsIsInstructionCounting

lib/api/wasmedge.cpp:1136–1142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1134}
1135
1136WASMEDGE_CAPI_EXPORT bool WasmEdge_ConfigureStatisticsIsInstructionCounting(
1137 const WasmEdge_ConfigureContext *Cxt) noexcept {
1138 if (Cxt) {
1139 return Cxt->Conf.getStatisticsConfigure().isInstructionCounting();
1140 }
1141 return false;
1142}
1143
1144WASMEDGE_CAPI_EXPORT void
1145WasmEdge_ConfigureStatisticsSetCostMeasuring(WasmEdge_ConfigureContext *Cxt,

Callers 1

TESTFunction · 0.85

Calls 1

isInstructionCountingMethod · 0.80

Tested by 1

TESTFunction · 0.68