commit | 8b3af16729404289083b3d0173eb76629109eecc | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu May 13 13:28:12 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Thu May 13 13:28:12 2010 +0200 |
tree | f245fa6ad6f66bf6efb28cf47c1c4971d632dc0c | |
parent | baef16e366ce919b9db0b6735ca16ca3c71d0910 [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.