Skip to content

Conversation

davidebettio
Copy link

This PR adds support for tracking RTT jitter in the Pinger struct and exposes it via the Statistics struct.

What’s included:

  • Added jitter calculation based on mean absolute differences between consecutive RTTs.
  • New field Jitter time.Duration in both Pinger and Statistics.
  • Automatically updated during updateStatistics if RecordRtts is enabled.
  • Some unit tests to verifying the correctness of jitter computation.

Signed-off-by: Davide Bettio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant