Automotive Performance Metrics · Runtime metric
Frames Per SecondFPS
Also known as frame rate, processing rate
Frames per second (FPS) is the number of frames a camera produces, or a processing pipeline completes, each second. For perception software it is a throughput measure and must not be confused with latency or with the sensor's own frame rate.
Explanation
A camera's frame rate, for example 30 Hz, sets how often new images arrive; a pipeline's FPS is how many frames it actually finishes. If processing FPS falls below the input rate, frames queue or are dropped. FPS is the inverse of the average interval between outputs, not the time to process one frame: a pipelined system can sustain 30 FPS while each frame takes 80 ms from capture to output.
FPS should be stated per stream and over a defined window. NVIDIA DeepStream, for example, prints per-stream FPS averaged over the most recent measurement interval (five seconds by default) together with the average over the whole run, and suggests the five-second window for cameras that deliver frames in bursts.
The counting point matters: model-only FPS derived from inference time is always higher than end-to-end pipeline FPS, which includes decoding, preprocessing, post-processing and publishing. Comparisons are only valid with the same input resolution, batch size, precision, hardware, power mode and counting point.
How it works
Count completed outputs at a fixed point in the pipeline, such as when results are published, and divide by elapsed wall-clock time over a defined window. Also record the distribution of intervals between outputs, because a mean FPS can hide stalls. Compare the result with the sensor rate to confirm the pipeline keeps up, and count dropped frames separately.
Automotive applications
- Checking a perception stack keeps up with the camera rate
- Sizing multi-camera systems
- Comparing models on target hardware
- Runtime health monitoring in test vehicles
Example
Eight 30 Hz cameras feed one perception SoC. Each stream reports 29.8 FPS averaged over five seconds, yet the output-interval log shows periodic 200 ms gaps while map tiles load; the FPS figure alone would have hidden these stalls.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- DeepStream Frequently Asked Questions (opens in a new tab)
- Performance Benchmarking (opens in a new tab)
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.