Skip to main content

Module metrics

Module metrics 

Source
Expand description

Progress and throughput accounting.

Counters are plain atomics updated from every worker. They are Relaxed because nothing branches on them — they exist to be read by an observer, and paying for ordering on a per-chunk counter would show up in the throughput numbers it is meant to measure.

Structs§

Counters
Metrics
Shared, cloneable metrics handle.
Progress
A point-in-time view of a transfer.

Functions§

human_bytes

Type Aliases§

ProgressFn
Callback invoked periodically with a fresh snapshot.