rust port of hdr-histogram
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
Cargo.toml
LICENSE
README.md

README.md

rustogram

Build status

A Rust port of HdrHistogram.

features

  • Implements the signed 64-bit histogram implementation
  • Binary compatible storage/retrieval of histogram values
  • Serialisation compatible (v2 only, scaling not supported)

usage

extern crate rustogram;
#[test]
fn it_works() {
	let mut h = rustogram::histogram::new_histogram(10000, 3);
	h.record_value(42);
	println!("Total recorded samples: {}", h.get_total_count());
}