Hello Jenkins Builder, laforge, pespin, I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bsc/+/25973 to look at the new patch set (#6). Change subject: add time_cc API: cumlative counter for time, reported as rate_ctr ...................................................................... add time_cc API: cumlative counter for time, reported as rate_ctr This is a candidate for adding to libosmocore (as osmo_time_cc), but let's first use this in osmo-bsc to make sure that it works as intended. I started out expecting to be done with this in half an hour, but I found out that accumulating elapsed time to an integer counter has a staggering amount of complexity to it, and a million pitfalls. The intended use is to report allAvailableSDCCHAllocated and allAvailableTCHAllocated performance indicators in OsmoBSC. Hopefully this will also be generally useful elsewhere, to be worth the effort. Related: SYS#4878 Change-Id: Icdd36f27cb54b2e1b940c9e6404ba9dd3692a310 --- M configure.ac M include/osmocom/bsc/Makefile.am A include/osmocom/bsc/time_cc.h M src/osmo-bsc/Makefile.am A src/osmo-bsc/time_cc.c M tests/Makefile.am M tests/testsuite.at A tests/time_cc/Makefile.am A tests/time_cc/time_cc_test.c A tests/time_cc/time_cc_test.ok 10 files changed, 1,508 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/73/25973/6 -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/25973 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: Icdd36f27cb54b2e1b940c9e6404ba9dd3692a310 Gerrit-Change-Number: 25973 Gerrit-PatchSet: 6 Gerrit-Owner: neels <nhofm...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <lafo...@osmocom.org> Gerrit-Reviewer: pespin <pes...@sysmocom.de> Gerrit-MessageType: newpatchset