Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) T4
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.0
• NVIDIA GPU Driver Version (valid for GPU only) 440.33.01
• Issue Type( questions, new requirements, bugs) Question
I see that the deepstream-app shows how to measure frame latency via the NVDS_ENABLE_LATENCY_MEASUREMENT env variable. Is there a sample app that shows how to measure component latency of the pipeline using the NVDS_ENABLE_COMPONENT_LATENCY_MEASUREMENT?
NVDS_ENABLE_COMPONENT_LATENCY_MEASUREMENT is part of NVDS_ENABLE_LATENCY_MEASUREMENT. Before enable NVDS_ENABLE_COMPONENT_LATENCY_MEASUREMENT, NVDS_ENABLE_LATENCY_MEASUREMENT should be enabled first.
So the deepstream-app is also the sample app for NVDS_ENABLE_COMPONENT_LATENCY_MEASUREMENT.
Thank you. I will go through the app more thoroughly. We are currently using the python bindings to build our pipeline, what is the recommended way to get the component latency? Would python probes at the src and sink pads give us similar measurements as the C++ app?
NVDS_ENABLE_LATENCY_MEASUREMENT should work with nvds_measure_buffer_latency() interface. I don’t think currently there is nvds_measure_buffer_latency() python binding.