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§

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
DEFAULT_MAX
DEFAULT_SIG_FIG
Significant figure passed to hdrhistogram::Histogram::new upon construction
DROP_DEADLINE
Amount of time HistLog::drop will spin on a full channel to the writer thread to send a terminate signal

Functions§

nanos
Returns Duration as number of nanoseconds (u64)

Type Aliases§

C
Type of value recorded to the hdrhistogram
SeriesName
Tag