mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-07 10:54:13 +02:00
Config refactoring
This commit is contained in:
+11
-9
@@ -1,15 +1,17 @@
|
||||
#include "config.hpp"
|
||||
|
||||
namespace config {
|
||||
H5::PredType dataset_type = H5::PredType::NATIVE_UINT8;
|
||||
H5T_order_t dataset_byte_order = H5T_ORDER_LE;
|
||||
// Receiver config.
|
||||
int n_io_threads = 1;
|
||||
|
||||
// Ring buffer config.
|
||||
size_t ring_buffer_n_slots = 100;
|
||||
uint32_t ring_buffer_read_retry_interval = 5;
|
||||
|
||||
// H5 config.
|
||||
std::string dataset_name = "data";
|
||||
hsize_t dataset_increase_step = 1000;
|
||||
hsize_t initial_dataset_size = 1000;
|
||||
|
||||
uint16_t rest_port = 11011;
|
||||
int n_io_threads = 1;
|
||||
size_t n_slots = 100;
|
||||
|
||||
std::string dataset_name = "data";
|
||||
|
||||
H5::PredType dataset_type = H5::PredType::NATIVE_UINT8;
|
||||
H5T_order_t dataset_byte_order = H5T_ORDER_LE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user