Optimize ReplayModuleFrameBuffer

This commit is contained in:
2020-05-25 11:02:55 +02:00
parent 0b23075b8d
commit 1e7af3df32
+1 -5
View File
@@ -54,16 +54,12 @@ struct ModuleFrame {
#pragma pack(push)
#pragma pack(1)
struct ReplayModuleFrameBuffer {
uint64_t pulse_id[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint64_t frame_index[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint64_t daq_rec[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint64_t n_received_packets[core_buffer::REPLAY_READ_BUFFER_SIZE];
ModuleFrame frame[core_buffer::REPLAY_READ_BUFFER_SIZE];
bool is_frame_present[core_buffer::REPLAY_READ_BUFFER_SIZE];
bool is_good_frame[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint16_t module_id;
uint64_t data_n_bytes;
uint16_t n_frames;
};
#pragma pack(pop)