1 unstable release

0.5.0 Feb 19, 2019
Download history 94/week @ 2023-10-30 51/week @ 2023-11-06 78/week @ 2023-11-13 75/week @ 2023-11-20 77/week @ 2023-11-27 44/week @ 2023-12-04 67/week @ 2023-12-11 68/week @ 2023-12-18 49/week @ 2023-12-25 60/week @ 2024-01-01 89/week @ 2024-01-08 122/week @ 2024-01-15 147/week @ 2024-01-22 134/week @ 2024-01-29 132/week @ 2024-02-05 131/week @ 2024-02-12

545 downloads per month
Used in streaming-harness

MIT license

12KB
188 lines

hdrhist is a small footprint hdr histogram in rust. It collects u64 samples in the full u64 value range with precision of 5 most significant bits. You can add new samples in O(1) time (a handful of cycles), and it will never reallocate.

Crates.io Documentation

Adding the dependency

Add the following to your [dependecies] in Cargo.toml.

hdrhist = "^<version>"

where <version> is the desired version of the library. The latest version is Crates.io.

Documentation

The reference documentation is at docs.rs/hdrhist.


lib.rs:

hdrhist is a small footprint hdr histogram.

It collects u64 values in the full u64 value range with precision of 5 most significant bits. You can add new samples in O(1) time (a handful of cycles), and it will never reallocate.

No runtime deps