Implements experimental tracy client multiplexer#766
Implements experimental tracy client multiplexer#766cipharius wants to merge 1 commit intowolfpld:masterfrom
Conversation
|
Hi ! I set up the env today but I cannot reproduce your example :/ When spawning the different processes in the order you specify, I get the following error the assertion is in the Notes
|
|
@Arpafaucon Are you testing with tracy GUI and client compiled from this commit's checkout? It will most likely fail if you try to use it with too new tracy version, due to how coupled the code is with the protocol. |
yes, I compiled |
2511616 to
aa451b4
Compare
This is a proof of concept implementation of tracy multiplexer which allows tracing multiple Tracy clients in realtime. It intends to resolve issue #471.
The multiplexer works by listening for client broadcast messages and automatically establishing connection with Tracy clients. Once connection is established between multiplexer and a Tracy server, all client events are fused into one event stream and passed on to the server.
Usage:
Some implementation details:
This proof of concept has some fragile parts that would be challenging to keep up to date as the profiler is updated. To address this, multiplexer, TracyWorker and TracyProfiler should be refactored to increase procedure reuse. For example I had to reimplement procedure that computes event packet size and had to manually sift through all events that contain time.