e2sm_kpm: fix func name

master
Piotr Gawlowicz 2 years ago committed by Justin Tallon
parent 9837997ce1
commit 70b8d035ce

@ -59,7 +59,7 @@ private:
bool _get_meas_definition(std::string meas_name, e2sm_kpm_metric_t& def);
std::vector<std::string> _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);

@ -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) {

@ -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;
}

Loading…
Cancel
Save