From 13fdbd9e0f3357f6c399c21b5d3c0587c111cffa Mon Sep 17 00:00:00 2001 From: AlaiaL Date: Fri, 26 Feb 2021 15:19:20 +0100 Subject: [PATCH] [metrics] Fixed csv header for srsenb --- srsenb/src/metrics_csv.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srsenb/src/metrics_csv.cc b/srsenb/src/metrics_csv.cc index e8a7bb0c2..e8427aa46 100644 --- a/srsenb/src/metrics_csv.cc +++ b/srsenb/src/metrics_csv.cc @@ -55,7 +55,7 @@ void metrics_csv::set_metrics(const enb_metrics_t& metrics, const uint32_t perio { if (file.is_open() && enb != NULL) { if (n_reports == 0) { - file << "time;nof_ue;dl_brate;ul_brate" + file << "time;nof_ue;dl_brate;ul_brate;" "proc_rmem;proc_rmem_kB;proc_vmem;proc_vmem_kB;sys_mem;proc_cpu;thread_count\n"; } @@ -87,11 +87,11 @@ void metrics_csv::set_metrics(const enb_metrics_t& metrics, const uint32_t perio } // Write system metrics. - const srslte::sys_metrics_t &m = metrics.sys; + const srslte::sys_metrics_t& m = metrics.sys; file << float_to_string(m.process_realmem, 2); file << std::to_string(m.process_realmem_kB) << ";"; file << float_to_string(m.process_virtualmem, 2); - file << std::to_string(m.process_virtualmem_kB) << ";" ; + file << std::to_string(m.process_virtualmem_kB) << ";"; file << float_to_string(m.system_mem, 2); file << float_to_string(m.process_cpu_usage, 2); file << std::to_string(m.thread_count);