mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-12 16:55:38 +02:00
core adjustments for eiger header. more debug msgs
This commit is contained in:
@@ -47,14 +47,15 @@ inline void FrameUdpReceiver::init_frame(
|
||||
frame_metadata.frame_index = packet_buffer_[i_packet].framenum;
|
||||
frame_metadata.daq_rec = (uint64_t) packet_buffer_[i_packet].debug;
|
||||
frame_metadata.module_id = (int64_t) module_id_;
|
||||
// #ifdef DEBUG_OUTPUT
|
||||
// using namespace date;
|
||||
// cout << " [" << std::chrono::system_clock::now();
|
||||
// cout << "] [FrameUdpReceiver::init_frame] :";
|
||||
// cout << " Frame number: " << frame_metadata.frame_index << endl;
|
||||
// cout << "i_packet" << i_packet << endl;
|
||||
// cout << endl;
|
||||
// #endif
|
||||
#ifdef DEBUG_OUTPUT
|
||||
using namespace date;
|
||||
cout << " [" << std::chrono::system_clock::now();
|
||||
cout << "] [FrameUdpReceiver::init_frame] :";
|
||||
cout << " Frame number: " << frame_metadata.frame_index << endl;
|
||||
// cout << " packet_buffer_ " << packet_buffer_[i_packet] << endl;
|
||||
cout << "i_packet" << i_packet << endl;
|
||||
cout << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void FrameUdpReceiver::copy_packet_to_buffers(
|
||||
@@ -112,6 +113,8 @@ inline uint64_t FrameUdpReceiver::process_packets(
|
||||
cout << "] [FrameUdpReceiver::process_packets] :";
|
||||
cout << " Frame " << metadata.frame_index << " || ";
|
||||
cout << packet_buffer_[i_packet].packetnum << " packets received.";
|
||||
cout << " packet_buffer_n_packets_ " << packet_buffer_n_packets_;
|
||||
cout << " i_packet "<< i_packet;
|
||||
cout << endl;
|
||||
#endif
|
||||
// Buffer is loaded only if this is not the last message.
|
||||
|
||||
Reference in New Issue
Block a user