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

Function WasmEdge_VMGetStatisticsContext

lib/api/wasmedge.cpp:3679–3685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3677}
3678
3679WASMEDGE_CAPI_EXPORT WasmEdge_StatisticsContext *
3680WasmEdge_VMGetStatisticsContext(WasmEdge_VMContext *Cxt) noexcept {
3681 if (Cxt) {
3682 return toStatCxt(&Cxt->VM.getStatistics());
3683 }
3684 return nullptr;
3685}
3686
3687WASMEDGE_CAPI_EXPORT void WasmEdge_VMDelete(WasmEdge_VMContext *Cxt) noexcept {
3688 delete Cxt;

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68