Svashasan Logo
Simulated data

Automotive Performance Metrics · Runtime metric

End-to-End Latency

Also known as E2E latency, sensor-to-output latency, pipeline latency, reaction latency

IntermediateSource-checked · awaiting technical reviewLast reviewed 6 December 2026

End-to-end latency is the time from a defined start event, typically sensor data acquisition, to a defined end event such as publishing a usable perception output or applying an actuator command. It spans every stage of the processing chain, not just model inference.

Explanation

A camera perception chain may include exposure and readout, transfer, decoding, preprocessing, inference, post-processing, fusion, tracking and publication over middleware. Each stage adds processing time plus waiting time in queues or executors, so end-to-end latency is usually much larger than inference latency.

The boundaries must be stated. 'Acquisition' could mean start of exposure, the sensor's timestamp or the moment the driver receives the frame; the end could be publication, receipt by the next node or actuation. Timestamps must come from a common clock, so measurements across ECUs need clock synchronisation.

Tracing helps attribute delay. ros2_tracing instruments ROS 2 publish, take and callback events with LTTng and can be combined with kernel scheduling traces; its authors measured a mean added latency of about 3.3 µs per message with all instrumentation enabled in their test setup. NVIDIA DeepStream documents a simpler method: probe timestamps at the decoder input and at the sink, and take the difference.

How it works

Attach a frame or message ID and timestamp at the start event, carry it through the pipeline, and record a timestamp at each stage boundary. Compute per-frame end-to-end and per-stage durations; report the median, high percentiles and maximum, and count frames that exceed the budget. Keep clock sources consistent and state whether tracing overhead is included.

Automotive applications

  • Verifying ADAS reaction-time budgets
  • Finding bottleneck stages in perception pipelines
  • Comparing middleware and executor configurations
  • Regression testing of software releases

Example

Frames are stamped at camera acquisition and again when tracked objects are published. Median end-to-end latency is 62 ms but p99 is 140 ms; per-stage timestamps show the extra delay is queueing in a fusion node's callback, not inference.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. ros2_tracing: Multipurpose Low-Overhead Framework for Real-Time Tracing of ROS 2 (Bédard, Lütkebohle and Dagenais, 2022) (opens in a new tab)

    arXiv / IEEE · Paper · IV ros2_tracing; VI Evaluation · retrieved 6 December 2026

  2. DeepStream Frequently Asked Questions (opens in a new tab)

    NVIDIA DeepStream SDK documentation · Manufacturer documentation · Latency measurement of pipeline components · retrieved 6 December 2026

  3. Performance Benchmarking (opens in a new tab)

    NVIDIA TensorRT documentation · Manufacturer documentation · Reported Performance Metrics (Host Latency) · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.