From 6cb166522e34b51d7d035a0286ec14000423fbfe Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Wed, 29 Jan 2025 00:55:12 +0300 Subject: [PATCH] /share/twn_api.h: add profiling api --- share/twn_api.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/share/twn_api.json b/share/twn_api.json index 478fb2b..255886a 100644 --- a/share/twn_api.json +++ b/share/twn_api.json @@ -268,6 +268,24 @@ { "name": "value", "type": "Rect" }, { "name": "identity", "type": "char *" } ] + }, + + "profile_start": { + "module": "util", + "symbol": "profile_start", + "header": "twn_util.h", + "params": [ + { "name": "profile", "type": "char *" } + ] + }, + + "profile_end": { + "module": "util", + "symbol": "profile_end", + "header": "twn_util.h", + "params": [ + { "name": "profile", "type": "char *" } + ] } },