From 0a2e9d7b8bb2ca3c8c3527ae5704b2be46126c37 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Thu, 31 May 2018 15:32:01 +0200 Subject: [PATCH] Do not reset metrics in the hub --- lib/include/srslte/common/metrics_hub.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/include/srslte/common/metrics_hub.h b/lib/include/srslte/common/metrics_hub.h index 46107db34..4c27b2b2a 100644 --- a/lib/include/srslte/common/metrics_hub.h +++ b/lib/include/srslte/common/metrics_hub.h @@ -64,7 +64,6 @@ private: uint32_t period = sleep_period_start[0].tv_sec*1e6 + sleep_period_start[0].tv_usec; if (m) { metrics_t metric; - bzero(&metric, sizeof(metrics_t)); m->get_metrics(metric); for (uint32_t i=0;iset_metrics(metric, period);