From 54ab64668d5fa78e2ec9b9ec026dc046ad75f317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20L=C3=BCke?= Date: Mon, 3 Jul 2023 21:32:47 +0200 Subject: [PATCH] init duration timers --- src/mvlc_nng_replay.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mvlc_nng_replay.cc b/src/mvlc_nng_replay.cc index 6d106e3..2fd3c68 100644 --- a/src/mvlc_nng_replay.cc +++ b/src/mvlc_nng_replay.cc @@ -425,10 +425,10 @@ void listfile_parser_nng( nng_msg *inputMsg = nullptr; u32 outputMessageNumber = 0u; - std::chrono::microseconds tReceive; - std::chrono::microseconds tProcess; - std::chrono::microseconds tSend; - std::chrono::microseconds tTotal; + std::chrono::microseconds tReceive(0); + std::chrono::microseconds tProcess(0); + std::chrono::microseconds tSend(0); + std::chrono::microseconds tTotal(0); auto tLastReport = std::chrono::steady_clock::now(); while (true)