1 unstable release
0.5.0 | Feb 19, 2019 |
---|
#3 in #hdr-histogram
1,204 downloads per month
Used in streaming-harness
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.
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 .
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.