Code

store: Calculate and store each objects update interval.
authorSebastian Harl <sh@tokkee.org>
Wed, 2 Apr 2014 10:37:10 +0000 (12:37 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 2 Apr 2014 10:37:10 +0000 (12:37 +0200)
commit2f08ce28937ba7755da12aa47a4a520ad39694a8
tree2b339615ed5a59a45ba97a147205a1883aafe075
parent8f340af6edef3f5a7f6b5e13ff960ade8abc3f24
store: Calculate and store each objects update interval.

The interval is calculated as the moving average of the incoming update
intervals. This should also work fine for out-of-order updates or updates from
multiple sources.
src/core/store-private.h
src/core/store.c