Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Calculating current framerate  (Read 847 times)

0 Members and 1 Guest are viewing this topic.

Offline Razorwings18

  • Contributing Member
  • **
  • I'm NOT a llama. I checked.
Calculating current framerate
« on: 17 Mar 2003, 13:12:10 »
I was wondering if anyone has an idea of how to calculate the current framerate through scripting.
I've incorporated a pretty nifty way to improve framerate within one of my scripts (in exchange for features, though), and I was just looking for a way to dynamically adjust the level of framerate improving depending on the current FPS the game is throwing.

The Benchmark function won't do of course, since it gives me the player's preference, not a dynamically-updated value according to the current situation.

Actually, any dynamic performance indication will do, not necessarily FPS.
If I come up with something I'll post it here.