diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-13 13:28:12 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-13 13:28:12 +0200 |
commit | d2dce6df04c859e33a79685640ad0a295dcc1421 (patch) | |
tree | 2583303f3624bb1431a6c1ac9904eaaa0bae0194 /include/osmocore/talloc.h | |
parent | cf734784b0433dfa6b77909f83cc3620e523f5d7 (diff) |
[rate_ctr] always 'overflow' in next larger inetrval when interval ends
If a second ends, we add the number of events in that just-ended second
to the number of events in the currently running minute. The same happens
at the end of a minute: We add the number of events in that just-ended
minute into the number of events of the still-running hour, etc.
This gives a much more meaningful numbers and we don't end up with
"12 events per second, but 0 events per minute" kind of situations
anymore.
Diffstat (limited to 'include/osmocore/talloc.h')
0 files changed, 0 insertions, 0 deletions