Pass a single image and find its inference time

You can refer to the Enable Latency measurement for deepstream sample apps to get the latency of the nvinfer plugin.