hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/debugger/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debugger/types.h')
-rw-r--r--src/debugger/types.h15
1 files changed, 15 insertions, 0 deletions
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<TraceCall> calls;
+ };
}