On a native deepstream app, we are able to get the frame latency and plugin latency, by enabling latency measurement with below commands.
export NVDS_ENABLE_LATENCY_MEASUREMENT=1
export NVDS_ENABLE_COMPONENT_LATENCY_MEASUREMENT=1
Please let me know, how we can we can get similar latency measurements for a python based deepstream pipeline.