Automotive Performance Metrics · Runtime metric
Jitter
Also known as timing jitter, delay variation, packet delay variation, PDV, IPDV, latency variation
Jitter is the variation in the timing of events that should be regular, such as packet arrivals, periodic task wake-ups or frame outputs. Because the word is used loosely, the exact definition, whether delay difference, deviation from period or statistical spread, must be stated.
Explanation
RFC 3393 deliberately avoids the word 'jitter' because it has been used for different things, and instead defines IP packet delay variation (IPDV) as the difference between the one-way delays of a selected pair of packets. In real-time systems, jitter usually means the spread between the intended and actual start of a periodic task. The Linux timerlat tracer measures this wake-up latency for a timer-driven thread and separates the interrupt and thread components.
In perception pipelines, jitter shows up as variation in the interval between consecutive outputs or in per-frame end-to-end latency. Control and fusion algorithms often assume regular sampling, so jitter can degrade them even when average latency and FPS look acceptable.
Common statistics include maximum minus minimum, standard deviation, high percentiles of deviation from the nominal period, and the coefficient of variation. Values are only comparable when the event pair, nominal period, statistic, measurement duration and system load are the same; finding the worst case usually requires long runs under realistic load.
How it works
Timestamp each event of interest with a clock of sufficient resolution. For periodic tasks, compute each activation's deviation from its intended time; for packets, compute differences in one-way delay between selected pairs; for pipelines, compute intervals between consecutive outputs. Report the distribution and the worst case, together with test duration and system load.
Automotive applications
- Validating real-time task scheduling on ECUs
- Assessing middleware and network timing
- Checking regularity of perception outputs
- Time-sensitive networking verification
Example
A 100 Hz control task should start every 10 ms. Under combined CPU and network load, timerlat measurements show thread wake-up latency usually below 30 µs but a worst case of 410 µs, which the team compares with the timing margin assumed in the control design.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- RFC 3393: IP Packet Delay Variation Metric for IP Performance Metrics (IPPM) (opens in a new tab)
- Timerlat tracer (opens in a new tab)
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.