This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
srs_andre gerrit-no-reply at lists.osmocom.orgsrs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20610 ) Change subject: srslte_common: add get_num_phy_errors() method ...................................................................... srslte_common: add get_num_phy_errors() method the get_num_phy_errors() uses the external KPI analyzer module to calculate the number of PHY layers errors in a vector of log metrics Change-Id: I0c8de87e7f83f986e288585640ce56847959c497 --- M src/osmo_gsm_tester/obj/srslte_common.py 1 file changed, 11 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/10/20610/1 diff --git a/src/osmo_gsm_tester/obj/srslte_common.py b/src/osmo_gsm_tester/obj/srslte_common.py index 9619fb6..c4d8e62 100644 --- a/src/osmo_gsm_tester/obj/srslte_common.py +++ b/src/osmo_gsm_tester/obj/srslte_common.py @@ -87,3 +87,14 @@ self.kpis = {} return self.kpis + + def get_num_phy_errors(self, kpi): + """ Use KPI analyzer to calculate the number PHY errors for either UE or eNB components from parsed KPI vector """ + try: + # Same as above, make sure the srsLTE scripts folder is included in your PYTHONPATH env variable + from kpi_analyzer import kpi_analyzer + analyzer = kpi_analyzer(self.name()) + return analyzer.get_num_phy_errors(kpi) + except ImportError: + self.log("Can't load KPI analyzer module.") + return 0 \ No newline at end of file -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20610 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: I0c8de87e7f83f986e288585640ce56847959c497 Gerrit-Change-Number: 20610 Gerrit-PatchSet: 1 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201012/ab13da70/attachment.htm>