API or SDK for calculating the current FPS on a Python

, ,

I want to write a program in Python which will
1: calculate fps of the current active window (game) or window by pid.
2: display the number of current fps in the selected location, on top of all applications, etc. For start, you can display in the upper left corner, let’s say in orange.

Hi @vladfesik36? Is this question in the context of Omniverse? Our Omniverse apps already have an FPS display.