libosmocore.git branch jerlbeck/wip/stats updated. 0.8.0-59-gbb564f4

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Tue Oct 6 13:25:17 UTC 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, jerlbeck/wip/stats has been updated
  discards  5fcbd59ec18cad0a4ca53bee7a9f561e59284ff4 (commit)
       via  bb564f424f1b28e342a8bfb61d3280be39c0f332 (commit)
       via  03a33a55cee72b9224048b507b389ba578e02b4f (commit)
       via  557606458d5514b0af92cd3754a5b3c6b3ae34d6 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (5fcbd59ec18cad0a4ca53bee7a9f561e59284ff4)
            \
             N -- N -- N (bb564f424f1b28e342a8bfb61d3280be39c0f332)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=bb564f424f1b28e342a8bfb61d3280be39c0f332

commit bb564f424f1b28e342a8bfb61d3280be39c0f332
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Tue Oct 6 15:23:25 2015 +0200

    ns: Add statistics (TODO)
    
    - lost.alive, lost.reset, alive.delay
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=03a33a55cee72b9224048b507b389ba578e02b4f

commit 03a33a55cee72b9224048b507b389ba578e02b4f
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Tue Oct 6 15:21:56 2015 +0200

    stat: Add vty_out_stat_item_group (TODO)
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=557606458d5514b0af92cd3754a5b3c6b3ae34d6

commit 557606458d5514b0af92cd3754a5b3c6b3ae34d6
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Thu Oct 1 20:43:53 2015 +0200

    core: 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

-----------------------------------------------------------------------

Summary of changes:
 include/osmocom/core/stat_item.h | 104 +++++++++++++++++++
 include/osmocom/gprs/gprs_ns.h   |   2 +
 include/osmocom/vty/misc.h       |   6 +-
 src/gb/gprs_ns.c                 |  36 +++++++
 src/gb/gprs_ns_vty.c             |   4 +-
 src/stat_item.c                  | 215 +++++++++++++++++++++++++++++++++++++++
 src/vty/utils.c                  |  22 ++++
 tests/Makefile.am                |   8 +-
 tests/stats/stats_test.c         |  68 ++++++++++---
 9 files changed, 444 insertions(+), 21 deletions(-)
 create mode 100644 include/osmocom/core/stat_item.h
 create mode 100644 src/stat_item.c


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list