bind9/tests
Tony Finch cd0e7f853a Simplify histogram quantiles
The `isc_histosummary_t` functions were written in the early days of
`hg64` and carried over when I brought `hg64` into BIND. They were
intended to be useful for graphing cumulative frequency distributions
and the like, but in practice whatever draws charts is better off with
a raw histogram export. Especially because of the poor performance of
the old functions.

The replacement `isc_histo_quantiles()` function is intended for
providing a few quantile values in BIND's stats channel, when the user
does not want the full histogram. Unlike the old functions, the caller
provides all the query fractions up-front, so that the values can be
found in a single scan instead of a scan per value. The scan is from
larger values to smaller, since larger quantiles are usually more
interesting, so the scan can bail out early.
2023-04-03 12:08:05 +01:00
..
bench Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
dns Replace DE_CONST(k, v) with v = UNCONST(k) macro 2023-04-03 10:25:56 +00:00
include/tests Kill unit tests that run more than 1200 seconds 2023-04-03 00:15:43 +00:00
irs Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
isc Simplify histogram quantiles 2023-04-03 12:08:05 +01:00
isccfg Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
libtest Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
ns Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Build libtest even if CMOCKA is not available 2023-03-29 02:29:18 +00:00
unit-test-driver.sh.in Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00