From 0cf973802da0017d3775b680087b755f4b81786a Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Thu, 14 Jan 2021 15:45:41 +0100 Subject: [PATCH] Add stream stats modulo to config file --- sf-stream/include/stream_config.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sf-stream/include/stream_config.hpp b/sf-stream/include/stream_config.hpp index 9b7e693..4e4eec4 100644 --- a/sf-stream/include/stream_config.hpp +++ b/sf-stream/include/stream_config.hpp @@ -14,4 +14,7 @@ namespace stream_config const int PULSE_ZMQ_SNDHWM = 100; // Number of times we try to re-sync in case of failure. const int SYNC_RETRY_LIMIT = 3; + + // Number of pulses between each statistics print out. + const size_t STREAM_STATS_MODULO = 10000; }