Yolo deepstream processing time

Hi,
I am running the yolov3 deepstream in jetson Nano and streaming through webcam. I want to know the processing time taken for each frame since, I getting frames form webcam. I know the code(using time.h), but don’t know in which program, where I need to do the changes, There are several C files are there. I have tried to do changes and rebuild it, but its not working.

please help to solve this, and try to give a example code would be so much great full.