wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
8.61k stars 592 forks source link

When TRACY_ON_DEMAND is disabled, is it possible to save only N frames instead of saving all frames? #785

Open syz3843486 opened 1 month ago

syz3843486 commented 1 month ago

Tracy is really great to use! However, I have a requirement to capture the detailed duration of a frame when its runtime exceeds X milliseconds. But after looking through the documentation, it seems that there isn't a feature for this. If TRACY_ON_DEMAND is turned off, continuous profiling will consume too much memory. Do you have any good suggestions?