Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**NX
• DeepStream Version6.0
**• JetPack Version (valid for Jetson only)**4.6
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
I can not find Example code of get NvDsMetaCompLatency info from pipeline

Yes, there is no sample about NvDsMetaCompLatency . Please describe your usage scenario.
if want to check latency, please add enviroment variable NVDS_ENABLE_LATENCY_MEASUREMENT, you can find it in opt\nvidia\deepstream\deepstream\sources\includes\nvds_latency_meta.h

I want know Latency fo evey infer element in last nvinfer sink probe.

  1. do you mean the latency only in nvinfer plugin? nvinfer is opensource, the path is opt\nvidia\deepstream\deepstream\sources\gst-plugins\gst-nvinfer\gstnvinfer.cpp, you can add code in gst_nvinfer_submit_input_buffer, compute the latency by start time and end time.
  2. if add enviroment variable NVDS_ENABLE_LATENCY_MEASUREMENT, you will get the whole pipeline latency, like this “Source id = 0 Frame_num = 1442 Frame latency = 780.707031 (ms)”.

To enable latency for all plugins, run this command on the console:
please refer to DeepStream Reference Application - deepstream-app — DeepStream 6.1 Release documentation

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.