tracy icon indicating copy to clipboard operation
tracy copied to clipboard

Can the client query its own statistics?

Open pesho-ivanov opened this issue 1 year ago • 1 comments

I have been enjoying Tracy for analyzing a read-mapping tool which is reporting stats on its execution. Since these stats are already computed by Tracy too, I am wondering if there is a simple way for the client to self-report some of the Tracy stats. I suppose this will require the client to bring up a server itself.

pesho-ivanov avatar Feb 24 '25 18:02 pesho-ivanov

Assuming by client you mean the profiler GUI (this is the opposite of the names used by the Tracy documentation), yes this is supported through the SELF_PROFILE option https://github.com/wolfpld/tracy/blob/8b3a421153a43044abd897471c63d5bf83b17a97/profiler/CMakeLists.txt#L8

Lectem avatar May 23 '25 23:05 Lectem