mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-09 23:53:53 +01:00
Test partial buffering
This commit is contained in:
1 parent
70b8172a36
commit
d5fb4f4dc0
2 files changed
+108
-48
No files matched your search
@@ -16,17 +16,17 @@
|
||||
#pragma pack(1)
|
||||
struct FileBufferMetadata {
|
||||
// Needed by RingBuffer
|
||||
const uint64_t frame_bytes_size = 2*512*1024*1000;
|
||||
const uint64_t frame_bytes_size = 2*512*1024*50;
|
||||
uint64_t buffer_slot_index;
|
||||
|
||||
uint64_t start_pulse_id;
|
||||
uint64_t stop_pulse_id;
|
||||
uint16_t module_id;
|
||||
|
||||
uint64_t pulse_id[1000];
|
||||
uint64_t frame_index[1000];
|
||||
uint32_t daq_rec[1000];
|
||||
uint16_t n_received_packets[1000];
|
||||
uint64_t pulse_id[50];
|
||||
uint64_t frame_index[50];
|
||||
uint32_t daq_rec[50];
|
||||
uint16_t n_received_packets[50];
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
|
||||
Reference in new issue
Block a user