Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 623 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 623 Bytes

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());
}