fix(client): separate probe admission and send timing

This commit is contained in:
Nils Andreas Svee committed 2026-08-04 11:36:25 +07:00
1 parent 8de478777d
commit e642f962d4
6 files changed
+433 -122

No files matched your search

+4 -2
View File
@@ -94,11 +94,13 @@ pub enum ClientEvent {
remote: SocketAddr,
/// Monotonic deadline at which the probe was scheduled to be sent.
scheduled_at: Instant,
/// Client wall/monotonic timestamp captured for the send.
/// Client wall/monotonic timestamp captured after probe preparation,
/// immediately before timeout finalization and the socket send.
sent_at: ClientTimestamp,
/// Number of bytes passed to the UDP socket.
bytes: usize,
/// Elapsed time spent in the socket send call.
/// Elapsed time spent in the socket send call, excluding protocol and
/// scheduler commit work.
send_call: Duration,
/// Absolute difference between the scheduled send time and actual send
/// timestamp.