Config refactoring

This commit is contained in:
2018-01-10 15:48:23 +01:00
parent 317c152823
commit 1acf59a08a
2 changed files with 18 additions and 16 deletions
+11 -9
View File
@@ -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;
}