summaryrefslogtreecommitdiff
path: root/src/core/stats.c
Commit message (Collapse)AuthorAge
* fixes #1064 Potential deadlock in statistics codeGarrett D'Amore2019-12-29
| | | | | | | | fixes #1063 Include sanitizer runs in CI fixes #1068 Wssfile test sometimes fails with wrong error code While here, addressed a number of clang-tidy items, and some light cleanup of code we were already in.
* fix #946 Use after free in TLSGarrett D'Amore2019-05-19
| | | | | This also introduces a more efficient reference counting usage based on atomics, rather than locks.
* Introduce nni_plat_printf()Garrett D'Amore2019-05-07
| | | | | This permits the stats dump to avoid some extra buffering, and resolves a complaint about possible format buffer overruns.
* fixes #841 Calling nng_stats_get() before creating socket panicsGarrett D'Amore2019-01-01
| | | | | While here fixed a spelling error in the description of the global statistics structure.
* fixes #782 stat namespace collision on QNXGarrett D'Amore2018-11-09
|
* fixes #713 stats warnings from WindowsGarrett D'Amore2018-09-09
|
* fixes #4 Statistics supportGarrett D'Amore2018-09-03
This introduces new public APIs for obtaining statistics, and adds some generic stats for dialers, listeners, pipes, and sockets. Also added are stats for inproc and pairv1 protocol. The other protocols and transports will have stats added incrementally as time goes on. A simple test program, and man pages are provided for this. Start by looking at nng_stat(5). Statistics does have some impact, and they can be disabled by using the advanced NNG_ENABLE_STATS (setting it to OFF, it's ON by default) if you need to build a minimized configuration.