Skip to content

Add Optional Tracy Frame Profiler#234

Open
zfergus wants to merge 3 commits intomainfrom
tracy
Open

Add Optional Tracy Frame Profiler#234
zfergus wants to merge 3 commits intomainfrom
tracy

Conversation

@zfergus
Copy link
Copy Markdown
Member

@zfergus zfergus commented May 6, 2026

Description

  • Add CMake option IPC_TOOLKIT_WITH_TRACY and cmake/recipes/tracy.cmake to fetch Tracy via CPM
  • Expose IPC_TOOLKIT_WITH_TRACY in src/ipc/config.hpp.in
  • Include Tracy headers in profiler.hpp and add helper concat macros
  • Update dependency graph and docs to list Tracy

Type of change

  • New feature (non-breaking change which adds functionality)

- Add CMake option IPC_TOOLKIT_WITH_TRACY and cmake/recipes/tracy.cmake
  to fetch Tracy via CPM
- Expose IPC_TOOLKIT_WITH_TRACY in src/ipc/config.hpp.in
- Include Tracy headers in profiler.hpp and add helper concat macros
- Update dependency graph and docs to list Tracy
Copilot AI review requested due to automatic review settings May 6, 2026 17:00
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.73%. Comparing base (c8a134f) to head (28bcfe7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #234      +/-   ##
==========================================
- Coverage   95.74%   95.73%   -0.01%     
==========================================
  Files         161      161              
  Lines       16633    16633              
  Branches      920      919       -1     
==========================================
- Hits        15925    15924       -1     
- Misses        708      709       +1     
Flag Coverage Δ
unittests 95.73% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zfergus zfergus requested review from Copilot and removed request for Copilot May 7, 2026 15:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Comment on lines 32 to +35
#define IPC_TOOLKIT_PROFILE_BLOCK(...) \
ipc::ProfilePoint IPC_TOOLKIT_PROFILE_BLOCK_CONCAT( \
__ipc_profile_point_, __COUNTER__)(__VA_ARGS__)
__ipc_profile_point_, __COUNTER__)(__VA_ARGS__); \
ZoneScopedN(__VA_ARGS__)
Comment thread src/ipc/potentials/potential.cpp Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants