libosmocore/include/osmocom/core
Jacob Erlbeck 9732cb4a92 stats: Add stat_item for value monitoring
This commit adds instrumentation function to gather measurement
and statistical values similar to counter groups.

Multiple values can be stored per item, which can be retrieved in
FIFO order. Getting values from the item does not modify its state to
allow for multiple independant backends (e.g. VTY and statd).

When a new value is set, the oldest value gets silently overwritten.
Lost values are skipped when getting values from the item.

Sponsored-by: On-Waves ehf
2015-10-28 23:51:04 +01:00
..
application.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
backtrace.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
bitXXgen.h.tpl comments 2015-10-09 00:01:06 +02:00
bits.h bits: Add left circular shift function 2014-06-16 14:36:37 +02:00
bitvec.h bitvec: Fix typo in the csn1 encoding code 2014-12-28 18:22:48 +01:00
conv.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
crc16.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
crcXXgen.h.tpl include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
crcgen.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
defs.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
endian.h endian: Be able to detect endian on GNU and BSD 2015-03-22 09:03:42 +01:00
gsmtap.h core/gsmtap: LTE RRC message types and LTE MAC define 2015-01-18 23:16:03 +01:00
gsmtap_util.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
linuxlist.h comments 2015-10-09 00:01:06 +02:00
linuxrbtree.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
logging.h logging: Make it possible to print category/subsys and timestamps 2014-12-05 10:23:28 +01:00
loggingrb.h sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+ 2014-10-26 20:52:25 +01:00
macaddr.h Convert recently-introduced header files to #pragma once 2014-08-21 15:42:44 +02:00
msgb.h msgb: make msgb_get() finally work as expected 2014-10-26 19:08:43 +01:00
msgfile.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
panic.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
plugin.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
prim.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
process.h merge process.[ch] with application.[ch] 2011-06-26 14:14:05 +02:00
rate_ctr.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
select.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
serial.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
signal.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
socket.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
stat_item.h stats: Add stat_item for value monitoring 2015-10-28 23:51:04 +01:00
statistics.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
strrb.h sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+ 2014-10-26 20:52:25 +01:00
talloc.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
timer.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
timer_compat.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
utils.h osmo_static_assert: Put back the typedef in the code 2015-04-13 09:21:05 +02:00
write_queue.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00