How to print Inference time in deepstream-test3 app

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) RTX 2060
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.1
• NVIDIA GPU Driver Version (valid for GPU only) 460
**• Issue Type( questions, new requirements, bugs)**question
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I want to print the inference time taken by a frame, How can I achieve that in deepstream-test3 sample app?