From a4a76ae6722608178574c0b2d9ecc3db104036fb Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Tue, 19 May 2020 13:25:15 +0200 Subject: [PATCH] Add new parameter for writer cache --- core-buffer/include/buffer_config.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core-buffer/include/buffer_config.hpp b/core-buffer/include/buffer_config.hpp index 3bd9b42..f91dd76 100644 --- a/core-buffer/include/buffer_config.hpp +++ b/core-buffer/include/buffer_config.hpp @@ -78,6 +78,9 @@ namespace core_buffer { // How large are metadata chunks in the HDF5. const size_t WRITER_METADATA_CHUNK_N_IMAGES = 100; + // How large should the data cache be in N images. + const size_t WRITER_DATA_CACHE_N_IMAGES = 100; + // Number of pulses between each statistics print out. const size_t STATS_MODULO = 100;