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/+/19085 ) Change subject: ms_srs: add min_rolling_average calculation ...................................................................... ms_srs: add min_rolling_average calculation useful metric to detect low/zero downlink throughput for longer time periods Change-Id: I77a82a68689bc6c21cb9227dc9e7616d03e2b547 --- M src/osmo_gsm_tester/obj/ms_srs.py 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/85/19085/1 diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py index ebd066d..96623a2 100644 --- a/src/osmo_gsm_tester/obj/ms_srs.py +++ b/src/osmo_gsm_tester/obj/ms_srs.py @@ -400,7 +400,7 @@ class srsUEMetrics(log.Origin): - VALID_OPERATIONS = ['avg', 'sum', 'max_rolling_avg'] + VALID_OPERATIONS = ['avg', 'sum', 'max_rolling_avg', 'min_rolling_avg'] VALID_CRITERION = ['eq','gt','lt'] CRITERION_TO_SYM = { 'eq' : '==', 'gt' : '>', 'lt' : '<' } CRYTERION_TO_SYM_OPPOSITE = { 'eq' : '!=', 'gt' : '<=', 'lt' : '>=' } @@ -458,6 +458,9 @@ elif operation == 'max_rolling_avg': # calculate rolling average over window and take maximum value result = numpy.amax(numpy.convolve(sel_data, numpy.ones((window,))/window, mode='valid')) + elif operation == 'min_rolling_avg': + # calculate rolling average over window and take minimum value + result = numpy.amin(numpy.convolve(sel_data, numpy.ones((window,))/window, mode='valid')) self.dbg(result=result, value=value) -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19085 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: I77a82a68689bc6c21cb9227dc9e7616d03e2b547 Gerrit-Change-Number: 19085 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/20200701/964fc045/attachment.htm>