From 7e53abd75355caa817532c71a935b6a231b3cd9e Mon Sep 17 00:00:00 2001 From: hachem Date: Fri, 26 Sep 2025 16:58:48 +0200 Subject: feat: attempt to add a profiler...didn't work --- src/debugger/types.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/debugger/types.h') diff --git a/src/debugger/types.h b/src/debugger/types.h index 8428c1d..c586665 100644 --- a/src/debugger/types.h +++ b/src/debugger/types.h @@ -148,4 +148,19 @@ namespace Hsdbg uint64_t address = 0; uint64_t size = 0; }; + + struct TraceCall + { + double start = 0.0; + double duration = 0.0; + }; + + struct FunctionTrace + { + uint32_t id = 0; + std::string function; + int32_t entry_backend_id = 0; + uint64_t call_count = 0; + std::vector calls; + }; } -- cgit v1.3