Celtoys / Remotery

Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer
Apache License 2.0
3.03k stars 255 forks source link

Support a single client connecting to multiple servers/processes #248

Open VelorumS opened 12 months ago

VelorumS commented 12 months ago

Uses address patterns like ws:/127.0.0.1:1781{5,6}/rmt to connect to multiple servers. Shows thread names with the 0_, 1_... prefixes depending on the server of origin. Sends console input to the first server.

Added GSST and SSST messages for retrieving the starting timepoints from the servers.

Copy-pasted the https://github.com/juliangruber/balanced-match and https://github.com/juliangruber/brace-expansion to get the address pattern parsing.

Not sure if it works for the Processor Timelines.

Fixes #134

dwilliamson commented 12 months ago

Thank you for this PR. I will have a close look at its implications.

Not to worry about processor timeline view, as long as it doesn't break.

dwilliamson commented 11 months ago

I'm trying to test the processor view right now but it doesn't actually appear to be working on the laptop I'm testing on, so I may have to debug that first before I get any further with testing this.