pub struct TimingDigest {
pub established_ts: SystemTime,
pub establishment_duration: Option<Duration>,
pub offload_wait_duration: Option<Duration>,
}Expand description
Timing information for one layer of a connection.
Fields§
§established_ts: SystemTimeWhen this connection layer was established.
establishment_duration: Option<Duration>Monotonic duration of this layer’s establishment operation.
This avoids estimating elapsed time by subtracting wall-clock Self::established_ts
values. On the lowest transport-layer entry, it measures L4 connection establishment. On
a TLS entry, it measures the actual TLS handshake and excludes TLS configuration setup.
None means that the producer did not measure this operation.
offload_wait_duration: Option<Duration>Monotonic duration between submitting connection work to an offload runtime and that work beginning execution.
This allows consumers to distinguish runtime scheduling delay from network connection
latency. It is only set on the lowest transport-layer entry when connection establishment
was offloaded. None means that no offload wait occurred or was measured.