mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-01 10:22:22 +02:00
debug output when frame is finished.
This commit is contained in:
@@ -81,6 +81,13 @@ inline uint64_t FrameUdpReceiver::process_packets(
|
||||
if (packet_buffer_[i_packet].packetnum ==
|
||||
N_PACKETS_PER_FRAME - 1)
|
||||
{
|
||||
#ifdef DEBUG_OUTPUT
|
||||
using namespace date;
|
||||
cout << " [" << std::chrono::system_clock::now();
|
||||
cout << "] [FrameUdpReceiver::process_packets] :";
|
||||
cout << " Total packets of frame finished. ";
|
||||
cout << endl;
|
||||
#endif
|
||||
// Buffer is loaded only if this is not the last message.
|
||||
if (i_packet+1 != packet_buffer_n_packets_) {
|
||||
packet_buffer_loaded_ = true;
|
||||
|
||||
Reference in New Issue
Block a user