wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
9.04k stars 627 forks source link

(Investigation) Multi-process support in tracy #822

Open Arpafaucon opened 1 month ago

Arpafaucon commented 1 month ago

This is not a bug report, but rather an attempt at documenting my work on #471.

I am still not experienced in the tracy code base, so I'd like to document a bit closely what I try, and what it gave.

What happened today

I tried testing #766 but I had no success so far, I get the error reported in https://github.com/wolfpld/tracy/pull/766#issuecomment-2203397281

To get my hands dirty, I explored an alternative approach that only supports offline files, let's call it tracy-merge.

Current result, generated from merging the same profiling run from test/test_cpp copied twice.

maim_2024-07-02T20-19-32+02-00

Arpafaucon commented 1 month ago

Report

I got back on the multiplexer work, trying to figure out the reason of the failure. What is still confusing is that the experimental profiler (as I read it) seems to want to consider all client-issued QueueItems as answers to server queries.