From 6090e867b86168caa2d014fc6752e9b9401be68f Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 29 Apr 2020 15:01:27 +0200 Subject: [PATCH] Performance tests suggest this is somehow the optimal number --- core-buffer/include/buffer_config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-buffer/include/buffer_config.hpp b/core-buffer/include/buffer_config.hpp index 253cc08..9899631 100644 --- a/core-buffer/include/buffer_config.hpp +++ b/core-buffer/include/buffer_config.hpp @@ -35,7 +35,7 @@ namespace core_buffer { const int WRITER_RB_BUFFER_SLOTS = 5; // How many frames to buffer before flushing to file. - const int WRITER_N_FRAMES_BUFFER = 1; + const int WRITER_N_FRAMES_BUFFER = 10; // Number of pulses between each statistics print out. const size_t STATS_MODULO = 100;