more debug msgs. adjusts on streamer and assembler to work with frame_index instead of pulse_id.

This commit is contained in:
2021-02-19 18:16:34 +01:00
parent dda2f9610e
commit 7db438671c
11 changed files with 112 additions and 48 deletions
+6
View File
@@ -42,6 +42,12 @@ PulseAndSync ZmqPulseSyncReceiver::get_next_pulse_id() const
{
uint64_t pulses[n_modules_];
#ifdef DEBUG_OUTPUT
cout << "[ZmqPulseSyncReceiver::get_next_pulse_id()]";
cout << "n_modules_" << n_modules_;
cout << endl;
#endif
bool modules_in_sync = true;
for (int i = 0; i < n_modules_; i++) {
zmq_recv(sockets_[i], &pulses[i], sizeof(uint64_t), 0);