|A custom cell that places generic nodes on the active stream after performing meaningless computations of variable duration. More...|
|A custom cell that writes to |
A pulsar sends empty pulses through a user-defined number of concurrent cells that perform a meaningless computation of random duration. A cell that monitors the number of target nodes on the incoming active pulse is connected downstream on one of the concurrent paths. Without synchronization, the number of nodes on the active pulse depends on which paths is sampled. With barrier synchronization in before the monitoring, the number of nodes is always the same, equal to the total number of paths (except if the barrier times out on some of the paths).