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

Missing threads when using thread group hints in Tracy 0.11.1 #883

Closed
timo-heinapurola-supercell opened this issue Sep 13, 2024 · 2 comments

Comments

@timo-heinapurola-supercell

I have been testing the thread group hint support in Tracy 0.11.1 and have noticed that it seems to somehow affect which threads are reported in the profiler app.

Steps:

  1. Register the main thread with Tracy (do not provide a thread group hint).
  2. Create 4 threads and set their name + thread group hint to value of 2.
  3. Create another group of 8 threads with their thread group hints set to the value of 1.
  4. Launch the application and the Tracy profiler on macOS.
  5. Capture using the Tracy profiler.

Expected outcome:
All the four threads with the group hint 2 should be visible in the Tracy profiler and they should be listed close to each other, as should the 8 threads with the hint 1. The main thread should be listed at the top.

Actual outcome:
About 50% of the time at least one of the threads in the same group are missing in the app.

@wolfpld
Copy link
Owner

wolfpld commented Sep 13, 2024

Please see if #879 fixes this for you.

@timo-heinapurola-supercell
Copy link
Author

It looks like it indeed fixes the issue. Thanks!

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

No branches or pull requests

2 participants