Closed moiri closed 5 years ago
An alternative, which I tend to like better, would be to use the keyword profiler
instead of the port mode. This would be sufficient to indicate which port of the profiler backend is connected to the profiler:
M = box m( up in x, down out x )
L = box l( out x )
R = box r( in x )
Profiler = extern box smx_mongo( profiler data, in ui open )
connect L.(M!M).R|Profiler
In order to allow a profiler to be connected to every net in a Streamix network a new keywork must be introduced:
The syntax
profiler.<custom>
should achieve this. The keywordprofiler
serves as an instantiation of a special routing node which connects to all profiler ports of all nets.<costom>
can be an instance of any box implementation which takes the profiler data as input.