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.

Getting FS frame rate

Featured Replies

  • Commercial Member

My last post had zero critique in it. It stated information, but didn't say one word about your physical code at all.As for sharing technique... that post was early AM after an all-nigher writing code. Sorry, I couldn't recall the names of the functions. I guess that deserves an insult tossed out.However, despite your insult... here they are:QueryPerformanceFrequencyQueryPerformanceCounter

Ed Wilson

Mindstar Aviation
My Playland - I69

Yes Ed, those are the same puppies I'm experiementing with too. Thanks for sharing in case they were not. Those are what I was refering to as the high-res timers, which is how my game programing books refer to them.I was trying to avoid using them, but it seems that they really are what the doctor ordered.Wasn't trying to insult you, just saying if you have some better solution, feel free to post it. Your post certainly didn't include a dig, it is just that in this case (vs. others where I am looking for that keen experienced eye) I'm less interested in an analysis of why my code won't work in your opinion, and more interested in other possible solutions that people wish to share. Of course some things people want to keep to themselves, which is understandable after they spent many many hours figuring it out.The one 20ms timer works great for the sound engine I built, and I now poll DirectInput less often in a 200ms timer, although it worked fine at 18hz in a gauge callback too.

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.