Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional support for Tracy #1865

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

JesseTG
Copy link
Contributor

@JesseTG JesseTG commented Oct 25, 2023

Tracy is a frame profiler that is intended to be integrated directly into a game (or emulator, or other application). It has minimal overhead, and can be conditionally compiled out.

I use it in melonDS DS, but I needed to be able to instrument parts of melonDS itself. So I added Tracy to the build process, optionally. No extra steps are required, it's fetched with FetchContent. To enable Tracy, set the TRACY_ENABLE option in CMake to ON.

Here are some examples of Tracy's output:

Screenshot 2023-10-25 102908
Screenshot 2023-10-24 193152

It's helping me diagnose a race conditions issue that's causing this bug as well.

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.

None yet

1 participant