Measurement model speed

Hi,
Is there some methods I can measure my model’s speed(FPS)?? Can you give me some information or sample code?

Refer to the method in Accelerating Peoplnet with tlt for jetson nano

Using trtexec to test.

Thanks. It solves my problem.