Add memory profiling macros for tracy profiler option#112702
Add memory profiling macros for tracy profiler option#112702Repiteo merged 1 commit intogodotengine:masterfrom
Conversation
There was a problem hiding this comment.
Looks like a straight-forward improvement!
Do you happen to know if this has any effects on performance?
If so, it might make sense to only enable memory tracking with a profiler option. I didn't find any information about this in the tracy manual. I guess by the rest of tracy's implementation, we don't need to worry about any performance penalties?
|
I would have to profile the profiler ;) |
Ivorforce
left a comment
There was a problem hiding this comment.
Makes sense to me. I think this is very useful information to have for profiling.
|
Can confirm it works for me using Tracy. Nice work! |
Ivorforce
left a comment
There was a problem hiding this comment.
This needs a squash before it can be merged.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
|
Thanks! |
Now that #104851 is merged.
Here is memory tracing macros and their usage for tracy profiler.