docs: qualify RTT-unaffected claim to raw RTT only

adjusted_rtt_us/effective_rtt_us are derived in part from
server-reported processing time, which is computed from the same
server receive endpoint the client_to_server one-way-delay field
documents as kernel-preferred. Only raw RTT is guaranteed to stay
on userspace monotonic timing; say so precisely instead of
claiming RTT in general is unaffected.
This commit is contained in:
Nils Andreas Svee committed 2026-08-20 15:12:01 +07:00
1 parent 98e7231ede
commit c9269ca0ee
2 files changed
+6 -3

No files matched your search

+5 -2
View File
@@ -356,8 +356,11 @@ pub struct OneWayDelaySample {
/// available and plausible for this send, and the userspace post-send wall
/// time otherwise. The server receive endpoint is the server's kernel
/// receive timestamp when one is available and plausible, and its
/// userspace receive wall time otherwise. RTT is unaffected and remains a
/// userspace monotonic measurement.
/// userspace receive wall time otherwise. `RttSample::raw` is unaffected
/// and remains a userspace monotonic measurement, but `adjusted` and
/// `effective` can still shift: when the session negotiated wall-clock
/// timing rather than monotonic, server processing time is derived from
/// this same server receive endpoint.
pub client_to_server: Option<SignedDuration>,
/// Server-to-client delay.
///