1 unstable release

0.5.0 Feb 19, 2019

#8 in #footprint

Download history 47/week @ 2023-11-20 50/week @ 2023-11-27 20/week @ 2023-12-04 39/week @ 2023-12-11 41/week @ 2023-12-18 14/week @ 2023-12-25 33/week @ 2024-01-01 62/week @ 2024-01-08 93/week @ 2024-01-15 119/week @ 2024-01-22 106/week @ 2024-01-29 106/week @ 2024-02-05 109/week @ 2024-02-12 105/week @ 2024-02-19 127/week @ 2024-02-26 134/week @ 2024-03-04

484 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