<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 4:</p><p style="white-space: pre-wrap; word-wrap: break-word;">copying my comments from chat:</p><p style="white-space: pre-wrap; word-wrap: break-word;">now i still disagree with the way the patch implements it, because it adds state</p><p style="white-space: pre-wrap; word-wrap: break-word;">there is a bool stats_last_sent_was_max, and IIUC this can only be used from the stats reporter?</p><p style="white-space: pre-wrap; word-wrap: break-word;">there is a comment claiming that the stat_items can be used from multiple consumers without interfering with each others' state</p><p style="white-space: pre-wrap; word-wrap: break-word;">IIUC before the patch we report:<br>42, nothing, nothing, nothing...<br>after the patch we report:<br>42, 23, nothing, nothing<br>I suggest that instead we report:<br>42, 23, 23, 23</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">That is what "flush period 1" does (send unchanged stats every reporting period)<br>Setting "flush period 0" disables sending stats that did not change</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">because that does not need any state<br>(besides the 'next_id' that is already there)<br></p></blockquote><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/25206">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/25206">change 25206</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/libosmocore/+/25206"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ibeefd0e3d1dbe4be454ff05a21df4848b2abfabe </div>
<div style="display:none"> Gerrit-Change-Number: 25206 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 20 Aug 2021 11:49:17 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>