Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Frame Rate Parameter?

Featured Replies

Is there a parameter I can pick up to monitor the frame rate?I'm new at gauge building and am starting with a simple but useful project: monitor the frame rate and if it falls below a pre-determine threshold value, play a tone and display the current rate in a small box, then continue to display the rate until it rises a little above the threshold. I've read through Microsoft's panel and gauge SDK, but can't find a parameter to call to get the frame rate. Any help would be appreciated.On the other hand, if anyone knows of such a gauge, please let me know. No use duplicating efforts!Thanks,Ron

  • 9 months later...

Have you finaly done this gauge? I am interested on it. That I know, you can only get that parameter through fsuipc. Anyone can help?Thank youAlberto

  • Author

I haven't looked into FSUIPC as a source of the data. Your reply is the only one I have received. I wouldn't think this would be very difficult to do, though.

With C gauges it is possible to get the FPS indirectly: the gauge_cb repeatedly called at different times. If the service_id is PANEL_SERVICE_PRE_DRAW a frame is drawn, also PANEL_SERVICE_PRE_UPDATE is called 18 times per sec. With a bit of averaging and trickery the FPS can be deduced from these two events, but I admit there is no easy way to read FPS directly.Arne Bartels

  • Author

Sounds both clever and tricky to me. Great idea!Just FYI for everyone out there, I originally started this project several months ago when I got laid off from a computer company I had worked for for 23 years. Now I'm starting to get some steady consulting business and will have to put this project on the back burner until possibly some future date. Thanks for all of your replies.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.