Filter sampling statistics by thread
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 16.8k
- Forks
- 1.2k
- Avg merge
- 1d 19m
- Merged PRs (30d)
- 9
Description
When profiling my game with elevated priveleges tracy gathers sampling information for all threads of my process. 99% of the time, I'm only interested in the sampled data from threads I created, and not e.g. for the Tracy worker thread. It would be nice if the statistics window hat a way to filter out certain threads so that I don't have to manually filter out all tracy-related functions that come up.
One way I could image working quite well to do this, is to add a button that applies the "Visible Threads" filtering to statistics, that already applies to the timeline view.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the statistics window and trace how the timeline's existing "Visible Threads" filtering is implemented. Add an equivalent way for statistics to use that filter, then verify that excluded threads no longer contribute to the displayed sampling statistics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100