<p>neels <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25973">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add time_cc API: cumlative counter for time, reported as rate_ctr<br><br>This is a candidate for adding to libosmocore (as osmo_time_cc), but<br>let's first use this in osmo-bsc to make sure that it works as intended.<br><br>I started out expecting to be done with this in half an hour, but I<br>found out that accumulating elapsed time to an integer counter has a<br>staggering amount of complexity to it, and a million pitfalls.<br><br>The intended use is to report allAvailableSDCCHAllocated and<br>allAvailableTCHAllocated performance indicators in OsmoBSC. Hopefully<br>this will also be generally useful elsewhere, to be worth the effort.<br><br>Related: SYS#4878<br>Change-Id: Icdd36f27cb54b2e1b940c9e6404ba9dd3692a310<br>---<br>M configure.ac<br>M include/osmocom/bsc/Makefile.am<br>A include/osmocom/bsc/time_cc.h<br>M src/osmo-bsc/Makefile.am<br>A src/osmo-bsc/time_cc.c<br>M tests/Makefile.am<br>M tests/testsuite.at<br>A tests/time_cc/Makefile.am<br>A tests/time_cc/time_cc_test.c<br>A tests/time_cc/time_cc_test.ok<br>10 files changed, 1,510 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/73/25973/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25973">change 25973</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/25973"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Icdd36f27cb54b2e1b940c9e6404ba9dd3692a310 </div>
<div style="display:none"> Gerrit-Change-Number: 25973 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>