Merge remote-tracking branch 'origin/ram_buffer' into ram_buffer

This commit is contained in:
2021-02-17 11:52:35 +01:00
5 changed files with 49 additions and 16 deletions
+4 -2
View File
@@ -20,8 +20,10 @@ namespace buffer_config {
const size_t FOLDER_MOD = 100000;
// Extension of our file format.
const std::string FILE_EXTENSION = ".bin";
// Number of pulses between each statistics print out.
const size_t STATS_MODULO = 100;
// Number of pulses between each statistics print out (buffer_writer, stream2vis...)
const size_t STATS_MODULO = 1000;
// Number of seconds after which statistics is print out (udp_recv)
const size_t STATS_TIME = 10;
// If the RB is empty, how much time to wait before trying to read it again.
const size_t RB_READ_RETRY_INTERVAL_MS = 5;
// How many frames to read at once from file.