[][src]Crate histlog

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

HistLog

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

Enums

Error

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

Constants

CHANNEL_SIZE

Capacity of crossbeam_channel::bounded queue used to communicate between the measuring thread and the writer thread

DROP_DEADLINE

Amount of time HistLog::drop will spin on a full channel to the writer thread to send a terminate signal

SIG_FIG

Significant figure passed to hdrhistogram::Histogram::new upon construction

Functions

nanos

Returns Duration as number of nanoseconds (u64)