From 70b8d035ce7867aedf097d86120ee410cb26028c Mon Sep 17 00:00:00 2001 From: Piotr Gawlowicz Date: Thu, 6 Apr 2023 12:02:44 +0200 Subject: [PATCH] e2sm_kpm: fix func name --- srsgnb/hdr/stack/ric/e2sm_kpm.h | 2 +- srsgnb/src/stack/ric/e2sm_kpm.cc | 2 +- srsgnb/src/stack/ric/e2sm_kpm_report_service.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srsgnb/hdr/stack/ric/e2sm_kpm.h b/srsgnb/hdr/stack/ric/e2sm_kpm.h index 3abf3aa60..ba1d88d5b 100644 --- a/srsgnb/hdr/stack/ric/e2sm_kpm.h +++ b/srsgnb/hdr/stack/ric/e2sm_kpm.h @@ -59,7 +59,7 @@ private: bool _get_meas_definition(std::string meas_name, e2sm_kpm_metric_t& def); std::vector _get_supported_meas(uint32_t level_mask); - bool _collect_type_meas_value(e2sm_kpm_meas_def_t& meas_value, meas_record_item_c& item); + bool _collect_meas_value(e2sm_kpm_meas_def_t& meas_value, meas_record_item_c& item); bool _extract_integer_type_meas_value(e2sm_kpm_meas_def_t& meas_value, const enb_metrics_t& enb_metrics, uint32_t& value); bool _extract_real_type_meas_value(e2sm_kpm_meas_def_t& meas_value, const enb_metrics_t& enb_metrics, float& value); diff --git a/srsgnb/src/stack/ric/e2sm_kpm.cc b/srsgnb/src/stack/ric/e2sm_kpm.cc index b98b812f5..f9ab99b21 100644 --- a/srsgnb/src/stack/ric/e2sm_kpm.cc +++ b/srsgnb/src/stack/ric/e2sm_kpm.cc @@ -336,7 +336,7 @@ void e2sm_kpm::receive_e2_metrics_callback(const enb_metrics_t& m) logger.debug("e2sm_kpm received new enb metrics, CPU0 Load: %.1f", last_enb_metrics.sys.cpu_load[0]); } -bool e2sm_kpm::_collect_type_meas_value(e2sm_kpm_meas_def_t& meas_value, meas_record_item_c& item) +bool e2sm_kpm::_collect_meas_value(e2sm_kpm_meas_def_t& meas_value, meas_record_item_c& item) { // here we implement logic of measurement data collection, currently we only read from enb_metrics if (meas_value.data_type == meas_record_item_c::types::options::integer) { diff --git a/srsgnb/src/stack/ric/e2sm_kpm_report_service.cc b/srsgnb/src/stack/ric/e2sm_kpm_report_service.cc index c66057127..2212ec61a 100644 --- a/srsgnb/src/stack/ric/e2sm_kpm_report_service.cc +++ b/srsgnb/src/stack/ric/e2sm_kpm_report_service.cc @@ -380,7 +380,7 @@ bool e2sm_kpm_report_service_style1::_collect_meas_data() meas_value.data_type = data_type; meas_record_item_c item; - if (not parent->_collect_type_meas_value(meas_value, item)) { + if (not parent->_collect_meas_value(meas_value, item)) { parent->logger.info("Cannot extract value \"%s\" label: %i", meas_name.c_str(), label); return false; }