Crate histlog

source ·
Expand description

A tool for use with the hdrhistogram crate, a rust port of HdrHistogram, that provides a clean interface with sane defaults for off-thread serialization of HdrHistogram interval logs to file.

Structs

Provides off-thread serialization of HdrHistogram interval logs to file.

Enums

Unifies all the errors that might occur from using a HistLog in one enum.

Constants

Capacity of crossbeam_channel::bounded queue used to communicate between the measuring thread and the writer thread
Amount of time HistLog::drop will spin on a full channel to the writer thread to send a terminate signal
Significant figure passed to hdrhistogram::Histogram::new upon construction

Functions

Returns Duration as number of nanoseconds (u64)