Profiling: make Tracy useful again (explicit dev-build switch, Vulkan GPU zones) #621

Open
opened 2026-10-10 01:58:52 +00:00 by sky_line · 0 comments
Owner

Tracy is compiled out of every build today: indra/cmake/Tracy.cmake enables it only when the channel matches ^alchemy test, which no longer exists. Its GPU zones were only ever wired for OpenGL, so even when enabled it shows CPU zones only.

Do (later)

  • An explicit dev-build switch (-DUSE_TRACY=ON, never in shipped builds), replacing the stale channel regex.
  • Vulkan GPU zones (TracyVulkan.hpp, calibrated timestamps) driven from our existing gpuSubMark pass marks, so one timeline shows CPU threads and GPU passes together.
  • Useful for the open threading hitches (LL_texFetch lock, fillJoinWait, LL_retiringRegions), which are cross-thread problems that text hitch logs show poorly.
Tracy is compiled out of every build today: `indra/cmake/Tracy.cmake` enables it only when the channel matches `^alchemy test`, which no longer exists. Its GPU zones were only ever wired for OpenGL, so even when enabled it shows CPU zones only. ## Do (later) - An explicit dev-build switch (`-DUSE_TRACY=ON`, never in shipped builds), replacing the stale channel regex. - Vulkan GPU zones (`TracyVulkan.hpp`, calibrated timestamps) driven from our existing `gpuSubMark` pass marks, so one timeline shows CPU threads and GPU passes together. - Useful for the open threading hitches (`LL_texFetch` lock, `fillJoinWait`, `LL_retiringRegions`), which are cross-thread problems that text hitch logs show poorly.
sky_line added this to the Slipstream project 2026-10-10 01:58:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#621
No description provided.