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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/debugger/types.h b/src/debugger/types.h
index c586665..98f216b 100644
--- a/src/debugger/types.h
+++ b/src/debugger/types.h
@@ -155,12 +155,28 @@ namespace Hsdbg
double duration = 0.0;
};
+ struct TimelineSpan
+ {
+ uint32_t trace_id = 0;
+ uint64_t thread_id = 0;
+ double start = 0.0;
+ double duration = 0.0;
+ uint32_t depth = 0;
+ };
+
struct FunctionTrace
{
uint32_t id = 0;
std::string function;
int32_t entry_backend_id = 0;
+
uint64_t call_count = 0;
+ uint64_t completed_count = 0;
+
+ double total_time = 0.0;
+ double min_time = 0.0;
+ double max_time = 0.0;
+
std::vector<TraceCall> calls;
};
}