TCP::rttvar

Description

Returns the Round Trip Time Variance, which is an indication of path jitter. TCP uses this figure, combined with RTT, to compute the RTO.
Note that the value returned is in units of “1/16 of a millisecond”. Divide the returned value by 16 to get the actual variance in milliseconds.

Syntax

TCP::rttvar

Return Value

The measured RTT variance in units of “1/16 of a millisecond”. Divide the returned value by 16 to get the actual variance in milliseconds.

Examples

when CLIENT_CLOSED {
     # Log rttvar.
     log local0. "rttvar: [TCP::rttvar]"
 }