Deepstream Calculate FPS processed by the app

Hi,

I have an application with a primary model (detector) and a secondary model (classification), is there a way I could calculate or obtain how many frames are processed by the models every second/minute?

For example, having 10 cameras with different FPS, how many FPS the application could process per minute?