From 3562a468be0610124032d926d742a5e36855b4ba Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 10 Jan 2018 11:56:10 +0100 Subject: [PATCH] Added new properties to config --- src/config.cpp | 5 +++++ src/config.hpp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/config.cpp b/src/config.cpp index 4352183..0a0297e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -5,4 +5,9 @@ namespace config { H5T_order_t dataset_byte_order = H5T_ORDER_LE; 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; + } diff --git a/src/config.hpp b/src/config.hpp index 4729ab1..bc6d1c5 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -9,6 +9,10 @@ namespace config extern H5T_order_t dataset_byte_order; extern hsize_t dataset_increase_step; extern hsize_t initial_dataset_size; + + extern uint16_t rest_port; + extern int n_io_threads; + extern size_t n_slots; } #endif \ No newline at end of file