Add new 'rate counter' implementation to libosmocore
authorHarald Welte <laforge@gnumonks.org>
Thu, 13 May 2010 09:35:30 +0000 (11:35 +0200)
committerHarald Welte <laforge@gnumonks.org>
Thu, 13 May 2010 09:35:30 +0000 (11:35 +0200)
commit7b45d608872f17ab8b71d53a2d87e5f8d621b007
tree6bc733abbfda569244cbda5cb63883d4c6374285
parent7638af95fd08213aef4adb3c6399975fe3621855
Add new 'rate counter' implementation to libosmocore

A 'rate counter' is a counter that counts events but also keeps
track of the rate of events (per second, minute, hour and day).

'rate counters' are generally abstracted in 'rate counter groups',
which are instances of a 'rate counter group description'.  This
way we can have e.g. a description describing what kind of counters
a BTS (or TRX) has - and we can then create one instance of that
group for every BTS or TRX that exists.
include/osmocore/Makefile.am
include/osmocore/rate_ctr.h [new file with mode: 0644]
src/Makefile.am
src/rate_ctr.c [new file with mode: 0644]