wolfpld / wolfpld/tracy

Filter sampling statistics by thread

Open
#697 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.