pro-bing icon indicating copy to clipboard operation
pro-bing copied to clipboard

feat: expose RTT jitter in Statistics struct

Open davidebettio opened this issue 6 months ago • 0 comments

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.

davidebettio avatar Jun 06 '25 15:06 davidebettio