| 1193 | } |
| 1194 | |
| 1195 | WASMEDGE_CAPI_EXPORT uint64_t WasmEdge_StatisticsGetInstrCount( |
| 1196 | const WasmEdge_StatisticsContext *Cxt) noexcept { |
| 1197 | if (Cxt) { |
| 1198 | return fromStatCxt(Cxt)->getInstrCount(); |
| 1199 | } |
| 1200 | return 0; |
| 1201 | } |
| 1202 | |
| 1203 | WASMEDGE_CAPI_EXPORT double WasmEdge_StatisticsGetInstrPerSecond( |
| 1204 | const WasmEdge_StatisticsContext *Cxt) noexcept { |