Easy Way To Get Sample App Performance

Is there an easy way to get FPS of display sink in the test sample apps?

Hi,
We have the information printed in running deepstream-app. For other samples, you can modify the sink to fpsdisplaysink.
https://gstreamer.freedesktop.org/documentation/debugutilsbad/fpsdisplaysink.html?gi-language=c