]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add isc_histo for histogram statistics
authorTony Finch <fanf@isc.org>
Wed, 8 Mar 2023 09:55:42 +0000 (09:55 +0000)
committerTony Finch <dot@dotat.at>
Mon, 3 Apr 2023 11:08:05 +0000 (12:08 +0100)
commit82213a48cfe1703a55ca3c7eec907daf14fecc33
tree3d229c5c103085b0811f2999acbba5819d0f2b9f
parent4c7e773a3162acc79d01d8bc1408e3426d36203a
Add isc_histo for histogram statistics

This is an adaptation of my `hg64` experiments for use in BIND.

As well as renaming everything according to ISC style, I have
written some more extensive tests that ensure the edge cases are
correct and the fenceposts are in the right places.

I have added utility functions for working with precision in terms of
decimal significant figures as well as this code's native binary.
configure.ac
lib/isc/Makefile.am
lib/isc/histo.c [new file with mode: 0644]
lib/isc/include/isc/histo.h [new file with mode: 0644]
tests/isc/Makefile.am
tests/isc/histo_test.c [new file with mode: 0644]