[dovecot/core] ccd2f7: lib/timing - helper for arbitrary percentiles

GitHub noreply at github.com
Mon Jan 15 13:30:20 EET 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: ccd2f7b043180fc1705fd7a6b9e4f3af593206c3
      https://github.com/dovecot/core/commit/ccd2f7b043180fc1705fd7a6b9e4f3af593206c3
  Author: Phil Carmody <phil at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

  Changed paths:
    M src/lib/timing.c
    M src/lib/timing.h

  Log Message:
  -----------
  lib/timing - helper for arbitrary percentiles

Replace fixed 95th %-ile helper with request for arbitrary
percentiles, or even arbitrary fractions of the range.

Signed-off-by: Phil Carmody <phil at dovecot.fi>


  Commit: e42d46d3ade1f2a27d9021a8d85e496bd6612b12
      https://github.com/dovecot/core/commit/e42d46d3ade1f2a27d9021a8d85e496bd6612b12
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

  Changed paths:
    M src/dict/dict-commands.c
    M src/dict/dict-commands.h
    M src/dict/main.c
    M src/lib-fs/fs-api.c
    M src/lib-fs/fs-api.h
    M src/lib/Makefile.am
    A src/lib/stats-dist.c
    A src/lib/stats-dist.h
    M src/lib/test-lib.inc
    A src/lib/test-stats-dist.c
    R src/lib/test-timing.c
    R src/lib/timing.c
    R src/lib/timing.h
    M src/stats/client-reader.c
    M src/stats/stats-metrics.c
    M src/stats/stats-metrics.h

  Log Message:
  -----------
  global: Rename timing API to stats-dist API

The API wasn't really about timings specifically, but about statistics in
general. The new stats service was already using it for tracking statistics
for non-timing related numbers.


Compare: https://github.com/dovecot/core/compare/9e61bf46941c...e42d46d3ade1


More information about the dovecot-cvs mailing list