From 12dfe1cc58a0c540475bd4d0a7b7d06526a19fa9 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 17 Mar 2020 19:00:10 +0100 Subject: [PATCH] fix srsUE's CSV DL metrics --- srsue/src/metrics_csv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/src/metrics_csv.cc b/srsue/src/metrics_csv.cc index bc76489d5..eadf40e04 100644 --- a/srsue/src/metrics_csv.cc +++ b/srsue/src/metrics_csv.cc @@ -105,7 +105,7 @@ void metrics_csv::set_metrics(const ue_metrics_t& metrics, const uint32_t period file << float_to_string(metrics.phy.dl[r].turbo_iters, 2); if (metrics.stack.mac[r].rx_brate > 0) { - file << float_to_string(metrics.stack.mac[r].rx_brate / metrics.stack.mac[r].nof_tti * 1e-3, 2); + file << float_to_string(metrics.stack.mac[r].rx_brate / (metrics.stack.mac[r].nof_tti * 1e-3), 2); } else { file << float_to_string(0, 2); }