Filter sampling statistics by thread
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.
After implementing the DPI fixes/features, I might try to implement this as well.
@wolfpld could you give some guidance on where to start looking, possible challenges when attempting this and so on?
I'd rather know up front about how involved implementing this might become.
The best way to start is by figuring out what kind of messages are sent by the client for the things you are interested in, and how these messages are then parsed to be put into data structures. This will tell you how things work at the base level. Then you can see how the existing code uses that data to display various statistics or data points.
Doing this will help you understand what kind of memory/performance/viability/caching trade offs were considered and taken. You can build on top of that.