Add thread metrics and category support to Profiler and visualizer

This commit is contained in:
max
2026-08-05 11:47:21 +02:00
parent 2d4139fb2c
commit 83f77d1ebe
3 changed files with 350 additions and 18 deletions
+2
View File
@@ -352,6 +352,8 @@ public static class ProfilerVisualizer
ImGui.BeginTooltip();
ImGui.Text($"{hover.Node.Label}");
ImGui.Separator();
ImGui.Text($"Category: {hover.Node.Category}");
ImGui.Text($"Tags: 0x{hover.Node.TagMask:X}");
ImGui.Text($"Frame: {hover.Frame.FrameCount} (idx {hover.FrameIndex})");
ImGui.Text($"Thread: {hover.Node.ManagedThreadId}");
ImGui.Text($"Depth: {hover.Depth}");